Enum Class PermissionType

java.lang.Object
java.lang.Enum<PermissionType>
com.atlassian.bamboo.specs.api.builders.permission.PermissionType
All Implemented Interfaces:
Serializable, Comparable<PermissionType>, Constable

public enum PermissionType extends Enum<PermissionType>
  • Enum Constant Details

    • VIEW

      public static final PermissionType VIEW
    • EDIT

      public static final PermissionType EDIT
    • CREATE

      public static final PermissionType CREATE
    • CREATE_REPOSITORY

      public static final PermissionType CREATE_REPOSITORY
    • DELETE

      public static final PermissionType DELETE
    • BUILD

      public static final PermissionType BUILD
    • CLONE

      public static final PermissionType CLONE
    • ADMIN

      public static final PermissionType ADMIN
    • VIEW_CONFIGURATION

      public static final PermissionType VIEW_CONFIGURATION
      Allows viewing configuration of plans and deployments. Bamboo DC only: converts to VIEW when used on instance with Server license.
    • APPROVE_RELEASE

      public static final PermissionType APPROVE_RELEASE
      Allows approving deployment releases.
  • Method Details

    • values

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