Enum Class GrantScope.Type

java.lang.Object
java.lang.Enum<GrantScope.Type>
io.jenkins.plugins.batchcontrol.model.GrantScope.Type
All Implemented Interfaces:
Serializable, Comparable<GrantScope.Type>, Constable
Enclosing class:
GrantScope

public static enum GrantScope.Type extends Enum<GrantScope.Type>
Scope kind. Stored by name in the type field. Files written with the earlier values (JOB, FOLDER, FOLDER_ONLY) are not converted (D-69, D-71).
  • Enum Constant Details

    • ITEM

      public static final GrantScope.Type ITEM
      The one item with exactly this full name (D-71).
  • Method Details

    • values

      public static GrantScope.Type[] 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 GrantScope.Type 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