Enum Class NaftahPlayground.RuntimeState

java.lang.Object
java.lang.Enum<NaftahPlayground.RuntimeState>
org.daiitech.naftah.playground.NaftahPlayground.RuntimeState
All Implemented Interfaces:
Serializable, Comparable<NaftahPlayground.RuntimeState>, Constable
Enclosing class:
NaftahPlayground

public static enum NaftahPlayground.RuntimeState extends Enum<NaftahPlayground.RuntimeState>
Represents the initialization state of the playground runtime.
  • Enum Constant Details

    • BOOTSTRAPPING

      public static final NaftahPlayground.RuntimeState BOOTSTRAPPING
      The runtime is currently loading metadata and bootstrapping language resources.
    • READY

      public static final NaftahPlayground.RuntimeState READY
      The runtime has been successfully initialized and is ready to execute code.
    • FAILED

      public static final NaftahPlayground.RuntimeState FAILED
      Initialization failed and the runtime cannot accept execution requests.
  • Constructor Details

    • RuntimeState

      private RuntimeState()
  • Method Details

    • values

      public static NaftahPlayground.RuntimeState[] 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 NaftahPlayground.RuntimeState 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