Class ManagedConfigurationItem
java.lang.Object
com.atlassian.jira.config.managedconfiguration.ManagedConfigurationItem
Represents a configuration item in JIRA (an instance of a
CustomField, a
JiraWorkflow, etc.) which is being managed by a plugin or JIRA itself.- Since:
- v5.2
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()inthashCode()booleanUse this method to get aManagedConfigurationItemBuilderinstance, prepopulated with this item's properties.toString()
-
Method Details
-
getId
- Returns:
- The unique ID of this
ManagedConfigurationItem
-
getItemId
- Returns:
- the ID of the item that is being managed. For different
ManagedConfigurationItemTypethis can be different things (e.g. workflow name, custom field ID, etc.)
-
getItemType
- Returns:
- the type of item which is being managed
-
isManaged
public boolean isManaged()- Returns:
- is this item currently being managed?
-
getConfigurationItemAccessLevel
- Returns:
- which users are allowed to edit this managed item. If
isManaged()is false, this will returnConfigurationItemAccessLevel.ADMIN.
-
getSourceId
- Returns:
- who owns/manages this item
-
getDescriptionI18nKey
- Returns:
- the I18n key which describes why this item is being managed
-
newBuilder
Use this method to get aManagedConfigurationItemBuilderinstance, prepopulated with this item's properties. From there you can make modifications as necessary to alter the configuration.- Returns:
- the builder instance
-
hashCode
public int hashCode() -
equals
-
toString
-