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.
|
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) |
@Deprecated public String path
WebEngineModule
@Deprecated public String rootType
WebEngineModule
public Class<?>[] roots
@Deprecated public boolean isHeadless
public List<ModuleShortcut> moduleShortcuts
public Class<?>[] types
public File directory
public List<File> fragmentDirectories
public List<LinkDescriptor> links
public List<ResourceBinding> resources
public String templateFileExt
public MediaTypeRef[] mediatTypeRefs
public boolean allowHostOverride
public ModuleConfiguration()
public ModuleConfiguration(WebEngine engine)
public List<ModuleShortcut> getShortcuts()
public List<LinkDescriptor> getLinks()
public File getDirectory()
@Deprecated public String getPath()
WebEngineModule
public boolean isLoaded()
public boolean isHeadless()
Copyright © 2016 Nuxeo SA. All rights reserved.