Enum Class Task.Accessibility

java.lang.Object
java.lang.Enum<Task.Accessibility>
io.goobi.viewer.api.rest.model.tasks.Task.Accessibility
All Implemented Interfaces:
Serializable, Comparable<Task.Accessibility>, Constable
Enclosing class:
Task

public static enum Task.Accessibility extends Enum<Task.Accessibility>
  • Enum Constant Details

    • PUBLIC

      public static final Task.Accessibility PUBLIC
      Anyone may access this task
    • SESSION

      public static final Task.Accessibility SESSION
      Anyone may access this tasks, but they are only visible within the session in which they were created
    • ADMIN

      public static final Task.Accessibility ADMIN
      Only users with admin rights may access this task
    • TOKEN

      public static final Task.Accessibility TOKEN
      This task is only accessibly by requests containing a valid access token
  • Method Details

    • values

      public static Task.Accessibility[] 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 Task.Accessibility 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