Enum Class Context

java.lang.Object
java.lang.Enum<Context>
com.genologics.ri.automation.Context
All Implemented Interfaces:
Serializable, Comparable<Context>, Constable

public enum Context extends Enum<Context>
The available options for the automation context.
Since:
2.26
  • Enum Constant Details

    • STEP

      public static final Context STEP
      Step context.
    • DERIVED_SAMPLE

      public static final Context DERIVED_SAMPLE
      Derived sample context.
      Since:
      2.31
    • PROJECT

      public static final Context PROJECT
      Project context.
      Since:
      2.31
  • Method Details

    • values

      public static Context[] 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 Context 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
    • value

      public String value()
      Gets the string value of this context.
      Returns:
      The context name.
    • fromValue

      public static Context fromValue(String v)
      Creates a Context from a string value.
      Parameters:
      v - The string value.
      Returns:
      The corresponding Context.