Enum Class ProcessAction

java.lang.Object
java.lang.Enum<ProcessAction>
fr.gouv.vitam.common.model.ProcessAction
All Implemented Interfaces:
Serializable, Comparable<ProcessAction>, Constable

public enum ProcessAction extends Enum<ProcessAction>
Enum of process workflow execution mode
  • Enum Constant Details

    • INIT

      public static final ProcessAction INIT
      initial execution mode for process workflow
    • NEXT

      public static final ProcessAction NEXT
      execute only next step
    • RESUME

      public static final ProcessAction RESUME
      resume execution mode (all step will be executed)
    • PAUSE

      public static final ProcessAction PAUSE
      pause execution mode
    • REPLAY

      public static final ProcessAction REPLAY
      execute one more time last executed step
    • START

      public static final ProcessAction START
      start execution mode for process workflow
  • Method Details

    • values

      public static ProcessAction[] 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 ProcessAction 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
    • getValue

      public String getValue()
      Returns:
      value of process workflow in String format
    • getProcessAction

      public static ProcessAction getProcessAction(String value)
      Returns Enum from value
      Parameters:
      value - of process workflow in String format
      Returns:
      ProcessAction