Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.deployment.preprocessor
Class FragmentDescriptor

java.lang.Object
  extended by org.nuxeo.runtime.deployment.preprocessor.FragmentDescriptor

public class FragmentDescriptor
extends Object

Author:
Bogdan Stefanescu

Field Summary
static FragmentDescriptor ALL
          Marker used for better control on requirements.
 TemplateContribution[] contributions
           
 String fileName
           
 String filePath
           
 CommandProcessor install
           
 String name
           
 String[] requiredBy
           
 List<String> requires
           
 int startLevel
          Deprecated. 
 Map<String,TemplateDescriptor> templates
           
 CommandProcessor uninstall
           
 int version
           
 
Constructor Summary
FragmentDescriptor()
           
FragmentDescriptor(String name, boolean isMarker)
           
 
Method Summary
 boolean isMarker()
           
 void setInstallCommands(DocumentFragment df)
           
 void setUninstallCommands(DocumentFragment df)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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: The start level is overwritten by the one specified at MANIFEST level using the Nuxeo-StartLevel header. If the start header is missing it will be initialized from the OSGi Bundle-Category (if any) as follows: If the start level could not be computed then the default value of 6 (user level) is used The recommended method of specifying the start level is to use the Bundle-Category since start level numbering may change (this header has the advantage of using symbolic names)


contributions

public TemplateContribution[] contributions

requires

public List<String> requires

requiredBy

public String[] requiredBy

templates

public Map<String,TemplateDescriptor> templates

install

public CommandProcessor install

uninstall

public CommandProcessor uninstall
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)

toString

public String toString()
Overrides:
toString in class Object

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.