Class LifeCycleDescriptor
java.lang.Object
org.nuxeo.ecm.core.lifecycle.extensions.LifeCycleDescriptor
- All Implemented Interfaces:
Descriptor
Descriptor for a life cycle extension.
- Author:
- Julien Anguenot, Florent Guillaume
- See Also:
-
Field Summary
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()The descriptor id, descriptors with same id are merged.getName()booleanmerge(Descriptor o) Returns a descriptor representingothermerged intothisvoidsetDescription(String description) voidsetLifeCycleManager(String lifeCycleManager) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
Constructor Details
-
LifeCycleDescriptor
public LifeCycleDescriptor()
-
-
Method Details
-
setLifeCycleManager
-
getId
Description copied from interface:DescriptorThe descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()for exemple.- Specified by:
getIdin interfaceDescriptor
-
getDescription
-
setDescription
-
getName
-
isEnabled
public boolean isEnabled()- Since:
- 2021.16
-
getInitialStateName
-
getDefaultInitialStateName
-
getStates
-
getTransitions
-
merge
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
- Since:
- 2021.16
-