Enum Class TaskKind

java.lang.Object
java.lang.Enum<TaskKind>
com.github.copilot.generated.rpc.TaskKind
All Implemented Interfaces:
Serializable, Comparable<TaskKind>, Constable

@Generated("copilot-sdk-codegen") public enum TaskKind extends Enum<TaskKind>
Closed set of public task kinds a connection can negotiate.
Since:
1.0.0
  • Enum Constant Details

    • AGENT

      public static final TaskKind AGENT
      The agent variant.
    • SHELL

      public static final TaskKind SHELL
      The shell variant.
    • CLIENT

      public static final TaskKind CLIENT
      The client variant.
  • Method Details

    • values

      public static TaskKind[] 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 TaskKind 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
    • getValue

      public String getValue()
    • fromValue

      public static TaskKind fromValue(String value)