Enum Class StackFrame.State

java.lang.Object
java.lang.Enum<StackFrame.State>
org.praxislive.script.StackFrame.State
All Implemented Interfaces:
Serializable, Comparable<StackFrame.State>, Constable
Enclosing interface:
StackFrame

public static enum StackFrame.State extends Enum<StackFrame.State>
Possible states of a StackFrame. All StackFrames start in an incomplete state.
  • Enum Constant Details

    • Incomplete

      public static final StackFrame.State Incomplete
      Incomplete and requires processing. All StackFrames begin in this state.
    • OK

      public static final StackFrame.State OK
      Processing finished successfully, and the StackFrame.result() is available.
    • Error

      public static final StackFrame.State Error
      Processing finished with an error.
    • Break

      public static final StackFrame.State Break
      Special state to control stack unwinding.
    • Continue

      public static final StackFrame.State Continue
      Special state to control stack unwinding.
  • Method Details

    • values

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