Enum Class ParkedPosition.Scope

java.lang.Object
java.lang.Enum<ParkedPosition.Scope>
com.axelor.workflow.migrate.ParkedPosition.Scope
All Implemented Interfaces:
Serializable, Comparable<ParkedPosition.Scope>, Constable
Enclosing class:
ParkedPosition

public static enum ParkedPosition.Scope extends Enum<ParkedPosition.Scope>
Where a position sits in its run's structure, which decides where it may move. A call's child and an escape branch are told apart by the parent's graph (see MigrationInventory).
  • Enum Constant Details

    • TOP_LEVEL

      public static final ParkedPosition.Scope TOP_LEVEL
      An ordinary park on the run's own walk.
    • BRANCH

      public static final ParkedPosition.Scope BRANCH
      One branch of a split, walking towards a barrier that is counting it.
    • SUBFLOW_CHILD

      public static final ParkedPosition.Scope SUBFLOW_CHILD
      A run a <call> call started, which its caller is parked on.
    • ESCAPE_BRANCH

      public static final ParkedPosition.Scope ESCAPE_BRANCH
      A run a non-interrupting boundary spawned, which its host is not waiting at.
  • Method Details

    • values

      public static ParkedPosition.Scope[] 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 ParkedPosition.Scope 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