Enum Class GraphNode.State

java.lang.Object
java.lang.Enum<GraphNode.State>
org.nuxeo.ecm.platform.routing.core.impl.GraphNode.State
All Implemented Interfaces:
Serializable, Comparable<GraphNode.State>, Constable
Enclosing interface:
GraphNode

public static enum GraphNode.State extends Enum<GraphNode.State>
The internal state of a node.
  • Enum Constant Details

    • READY

      public static final GraphNode.State READY
      Node is ready.
    • WAITING

      public static final GraphNode.State WAITING
      Merge node is waiting for more incoming transitions.
    • RUNNING_INPUT

      public static final GraphNode.State RUNNING_INPUT
      While executing input phase. Not persisted.
    • SUSPENDED

      public static final GraphNode.State SUSPENDED
      Task node is waiting for task to be done.
    • CANCELED

      public static final GraphNode.State CANCELED
      Node is canceled.
    • RUNNING_OUTPUT

      public static final GraphNode.State RUNNING_OUTPUT
      While executing output phase. Not persisted.
  • Method Details

    • values

      public static GraphNode.State[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GraphNode.State valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLifeCycleState

      public String getLifeCycleState()
      Corresponding lifecycle state.
    • getTransition

      public String getTransition()
      Transition leading to this state.
    • fromString

      public static GraphNode.State fromString(String s)