Class LifeCycleDescriptor

java.lang.Object
org.nuxeo.ecm.core.lifecycle.extensions.LifeCycleDescriptor
All Implemented Interfaces:
Descriptor

public class LifeCycleDescriptor extends Object implements Descriptor
Descriptor for a life cycle extension.
Author:
Julien Anguenot, Florent Guillaume
See Also:
  • Constructor Details

    • LifeCycleDescriptor

      public LifeCycleDescriptor()
  • Method Details

    • setLifeCycleManager

      public void setLifeCycleManager(String lifeCycleManager)
    • getId

      public String getId()
      Description copied from interface: Descriptor
      The 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:
      getId in interface Descriptor
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getName

      public String getName()
    • isEnabled

      public boolean isEnabled()
      Since:
      2021.16
    • getInitialStateName

      public String getInitialStateName()
    • getDefaultInitialStateName

      public String getDefaultInitialStateName()
    • getStates

      public Collection<LifeCycleState> getStates()
    • getTransitions

      public Collection<LifeCycleTransition> getTransitions()
    • merge

      public LifeCycleDescriptor merge(Descriptor o)
      Description copied from interface: Descriptor
      Returns a descriptor representing other merged into this

      Default implementation returns other.

      Specified by:
      merge in interface Descriptor
      Returns:
      the merged descriptor
      Since:
      2021.16