Class FragmentDescriptor
- java.lang.Object
-
- org.nuxeo.runtime.deployment.preprocessor.FragmentDescriptor
-
public class FragmentDescriptor extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description static FragmentDescriptor
ALL
Marker used for better control on requirements.TemplateContribution[]
contributions
String
fileName
String
filePath
CommandProcessor
install
protected boolean
isMarker
String
name
String[]
requiredBy
List<String>
requires
int
startLevel
Deprecated.Map<String,TemplateDescriptor>
templates
CommandProcessor
uninstall
int
version
-
Constructor Summary
Constructors Constructor Description FragmentDescriptor()
FragmentDescriptor(String name, boolean isMarker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMarker()
void
setInstallCommands(DocumentFragment df)
void
setUninstallCommands(DocumentFragment df)
String
toString()
-
-
-
Field Detail
-
ALL
public static final FragmentDescriptor ALL
Marker used for better control on requirements. see "all" marker in FragmentRegistry
-
name
public String name
-
version
public int version
-
fileName
public String fileName
-
filePath
public String filePath
-
startLevel
@Deprecated public int startLevel
Deprecated.The start level is used to control bundle start order. The following levels are defined:- 0 - system level - used by the OSGi framework itself
- 1 - runtime level - used by nuxeo-runtime bundles
- 2 - core level - used for core bundles
- 3 - platform level - used for platform service bundles
- 4 - presentation level - used for UI service bundles (e.g. seam components etc)
- 5 - UI level -used for UI bundles (e.g. war / web, widgets contribs)
- 6 - user level
nuxeo-framework
nuxeo-runtime
nuxeo-service
nuxeo-core
nuxeo-platform
nuxeo-presentation
nuxeo-ui
nuxeo-plugin
Bundle-Category
since start level numbering may change (this header has the advantage of using symbolic names)
-
contributions
public TemplateContribution[] contributions
-
requiredBy
public String[] requiredBy
-
templates
public Map<String,TemplateDescriptor> templates
-
install
public CommandProcessor install
-
uninstall
public CommandProcessor uninstall
-
isMarker
protected boolean isMarker
-
-
Constructor Detail
-
FragmentDescriptor
public FragmentDescriptor()
-
FragmentDescriptor
public FragmentDescriptor(String name, boolean isMarker)
-
-
Method Detail
-
isMarker
public boolean isMarker()
-
setInstallCommands
public void setInstallCommands(DocumentFragment df)
-
setUninstallCommands
public void setUninstallCommands(DocumentFragment df)
-
-