public class ModuleConfiguration extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
boolean |
allowHostOverride |
String |
base |
File |
directory
The module directory.
|
WebEngine |
engine |
File |
file
The module configuration file (this will be set by the module config
parser)
|
List<File> |
fragmentDirectories |
boolean |
isHeadless
Deprecated.
|
List<LinkDescriptor> |
links |
MediaTypeRef[] |
mediatTypeRefs |
List<ModuleShortcut> |
moduleShortcuts
A list of entry points into the module - to be shown in the main
webengine page.
|
String |
name |
Set<String> |
natures |
String |
path
Deprecated.
you should use new module definition - through
WebEngineModule |
List<ResourceBinding> |
resources
Deprecated.
resources are deprecated - you should use a jax-rs
application to declare more resources.
|
Class<?>[] |
roots
Paths of root resources in the module.
|
String |
rootType
Deprecated.
you should use new module definition - through
WebEngineModule |
String |
templateFileExt |
Class<?>[] |
types
Web Types explicitly declared.
|
Map<String,Validator> |
validators |
Constructor and Description |
---|
ModuleConfiguration() |
ModuleConfiguration(WebEngine engine) |
Modifier and Type | Method and Description |
---|---|
Module |
get() |
String |
getBase() |
File |
getDirectory() |
WebEngine |
getEngine() |
List<LinkDescriptor> |
getLinks() |
String |
getName() |
String |
getPath()
Deprecated.
you should use new module definition - through
WebEngineModule |
List<ModuleShortcut> |
getShortcuts() |
boolean |
isHeadless() |
boolean |
isLoaded() |
void |
setEngine(WebEngine engine) |
void |
setValidators(Map<String,Class<Validator>> m) |
@Deprecated public String path
WebEngineModule
@Deprecated public String rootType
WebEngineModule
public Class<?>[] roots
public String base
public String name
@Deprecated public boolean isHeadless
public List<ModuleShortcut> moduleShortcuts
public Class<?>[] types
public File directory
public File file
public List<LinkDescriptor> links
public List<ResourceBinding> resources
public String templateFileExt
public MediaTypeRef[] mediatTypeRefs
public WebEngine engine
public boolean allowHostOverride
public ModuleConfiguration()
public ModuleConfiguration(WebEngine engine)
public WebEngine getEngine()
public void setEngine(WebEngine engine)
public String getName()
public List<ModuleShortcut> getShortcuts()
public List<LinkDescriptor> getLinks()
public File getDirectory()
public String getBase()
@Deprecated public String getPath()
WebEngineModule
public Module get()
public boolean isLoaded()
public boolean isHeadless()
Copyright © 2013 Nuxeo SA. All Rights Reserved.