Enum Class Tm1Operation.Kind

java.lang.Object
java.lang.Enum<Tm1Operation.Kind>
io.skipcheck.tm1.client.Tm1Operation.Kind
All Implemented Interfaces:
Serializable, Comparable<Tm1Operation.Kind>, Constable
Enclosing class:
Tm1Operation

public static enum Tm1Operation.Kind extends Enum<Tm1Operation.Kind>
Whether an operation is an action or a function.
  • Enum Constant Details

    • ACTION

      public static final Tm1Operation.Kind ACTION
      An action, invoked with POST; it may change the server's state.
    • FUNCTION

      public static final Tm1Operation.Kind FUNCTION
      A function, invoked with GET; it doesn't change anything.
  • Method Details

    • values

      public static Tm1Operation.Kind[] 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 Tm1Operation.Kind 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