Enum Class ConfigurationItemAccessLevel
java.lang.Object
java.lang.Enum<ConfigurationItemAccessLevel>
com.atlassian.jira.config.managedconfiguration.ConfigurationItemAccessLevel
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationItemAccessLevel>
,Constable
These values define the different access levels that exist for altering a
ManagedConfigurationItem
.
Note: this setting does not affect configuration changes made at the API level. It only determines the visibility/access of configuration options within JIRA's administration interface.
- Since:
- v5.2
- See Also:
-
ManagedConfigurationItem
ManagedConfigurationItemService#doesUserHavePermission(com.atlassian.crowd.embedded.api.User, ManagedConfigurationItem)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdministrators or system administrators are permitted to alter the item's configuration from the JIRA administration interface.No user is permitted to alter the item's configuration from the JIRA administration interface.Only system administrators are permitted to alter the item's configuration from the JIRA administration interface. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationItemAccessLevel
Returns the enum constant of this class with the specified name.static ConfigurationItemAccessLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOCKED
No user is permitted to alter the item's configuration from the JIRA administration interface. -
SYS_ADMIN
Only system administrators are permitted to alter the item's configuration from the JIRA administration interface. -
ADMIN
Administrators or system administrators are permitted to alter the item's configuration from the JIRA administration interface. However they will be shown a message saying that the item is "managed".
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-