Enum Class TaskOperation

java.lang.Object
java.lang.Enum<TaskOperation>
org.a2aproject.sdk.server.auth.TaskOperation
All Implemented Interfaces:
Serializable, Comparable<TaskOperation>, Constable

public enum TaskOperation extends Enum<TaskOperation>
Identifies which RequestHandler operation triggered an authorization check.
  • Enum Constant Details

    • GET_TASK

      public static final TaskOperation GET_TASK
    • LIST_TASKS

      public static final TaskOperation LIST_TASKS
    • CANCEL_TASK

      public static final TaskOperation CANCEL_TASK
    • MESSAGE_SEND

      public static final TaskOperation MESSAGE_SEND
    • MESSAGE_SEND_STREAM

      public static final TaskOperation MESSAGE_SEND_STREAM
    • SUBSCRIBE_TO_TASK

      public static final TaskOperation SUBSCRIBE_TO_TASK
    • CREATE_TASK_PUSH_NOTIFICATION_CONFIG

      public static final TaskOperation CREATE_TASK_PUSH_NOTIFICATION_CONFIG
    • GET_TASK_PUSH_NOTIFICATION_CONFIG

      public static final TaskOperation GET_TASK_PUSH_NOTIFICATION_CONFIG
    • LIST_TASK_PUSH_NOTIFICATION_CONFIGS

      public static final TaskOperation LIST_TASK_PUSH_NOTIFICATION_CONFIGS
    • DELETE_TASK_PUSH_NOTIFICATION_CONFIG

      public static final TaskOperation DELETE_TASK_PUSH_NOTIFICATION_CONFIG
  • Method Details

    • values

      public static TaskOperation[] 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 TaskOperation 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