Enum Class ActivityState.State

java.lang.Object
java.lang.Enum<ActivityState.State>
de.aristaflow.adept2.model.runtimeenvironment.ActivityState.State
All Implemented Interfaces:
Serializable, Comparable<ActivityState.State>, java.lang.constant.Constable
Enclosing class:
ActivityState

public static enum ActivityState.State extends Enum<ActivityState.State>
An enumeration for the state of the component of an activity. This is just a simple enumeration, in state RUNNING there may also be a signal which can be obtained from an ActivityState.
Author:
Ulrich Kreher
  • Enum Constant Details

    • REGISTERED

      public static final ActivityState.State REGISTERED
      The activity is registered for execution but the corresponding component is not initialised yet.
    • INITIALISING

      public static final ActivityState.State INITIALISING
      The component for the activity is currently initialising.
    • RUNNING

      public static final ActivityState.State RUNNING
      The component for the activity is currently executing.
    • TERMINATING

      public static final ActivityState.State TERMINATING
      The component for the activity has finished executing and is currently terminating.
    • TERMINATED

      public static final ActivityState.State TERMINATED
      The component for the activity has finished executing and has terminated. This is only relevant in case the component has just terminated or some information need to be kept in the runtime manager, for instance a URL for notifying the resume of the activity.
    • TERMINATED_PENDING

      public static final ActivityState.State TERMINATED_PENDING
      The component for the activity has finished executing and has terminated but activity termination could not be signalled to the execution manager. The termination signal is pending. This is only relevant in case of a persisting activity termination.
  • Method Details

    • values

      public static ActivityState.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 ActivityState.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