Enum Class Tool.Mode

java.lang.Object
java.lang.Enum<Tool.Mode>
io.github.glaforge.gemini.interactions.model.Tool.Mode
All Implemented Interfaces:
Serializable, Comparable<Tool.Mode>, Constable
Enclosing interface:
Tool

public static enum Tool.Mode extends Enum<Tool.Mode>
Tool choice mode.
  • Enum Constant Details

    • AUTO

      public static final Tool.Mode AUTO
      Auto mode.
    • ANY

      public static final Tool.Mode ANY
      Any mode.
    • NONE

      public static final Tool.Mode NONE
      None mode.
    • VALIDATED

      public static final Tool.Mode VALIDATED
      Validated mode.
  • Method Details

    • values

      public static Tool.Mode[] 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 Tool.Mode 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