Class FieldConfigSchemeImpl
java.lang.Object
com.atlassian.jira.issue.fields.config.FieldConfigSchemeImpl
- All Implemented Interfaces:
FieldConfigScheme
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.issue.fields.config.FieldConfigScheme
FieldConfigScheme.Builder -
Constructor Summary
ConstructorsConstructorDescriptionFieldConfigSchemeImpl(Long id, String fieldId, String name, String description, Map<String, FieldConfig> configs, FieldConfigContextPersister configContextPersister) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanReturns the ids for the associated Issue Types.Returns the associated Issue Types.The associated projectIds, or an empty list if none associated.The associated projects, or an empty list if none associated.Returns a Map whose key is aStringof issue types and the value is theFieldConfigfor that issue typeorg.apache.commons.collections.MultiMapReturns a Map whose key is aFieldConfigand values are associated aCollectionIssue TypeGenericValueReturns a list ofJiraContextNodeobjects this scheme is relevant togetField()getId()getName()Returns the one and only config for this scheme if there's only one config associated.inthashCode()booleanbooleanbooleanbooleanbooleanisGlobal()booleanisInContext(IssueContext issueContext) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.issue.fields.config.FieldConfigScheme
getAssociatedIssueTypeObjects
-
Constructor Details
-
FieldConfigSchemeImpl
public FieldConfigSchemeImpl(Long id, String fieldId, String name, String description, Map<String, FieldConfig> configs, FieldConfigContextPersister configContextPersister)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceFieldConfigScheme
-
getDescription
- Specified by:
getDescriptionin interfaceFieldConfigScheme
-
getConfigs
Description copied from interface:FieldConfigSchemeReturns a Map whose key is aStringof issue types and the value is theFieldConfigfor that issue type- Specified by:
getConfigsin interfaceFieldConfigScheme- Returns:
- Map of
FieldConfigkeyed by name. Null if nothing associated
-
getContexts
Description copied from interface:FieldConfigSchemeReturns a list ofJiraContextNodeobjects this scheme is relevant to- Specified by:
getContextsin interfaceFieldConfigScheme- Returns:
- list of
JiraContextNode. an empty list if no contexts
-
getId
- Specified by:
getIdin interfaceFieldConfigScheme
-
getField
- Specified by:
getFieldin interfaceFieldConfigScheme
-
isInContext
- Specified by:
isInContextin interfaceFieldConfigScheme
-
getAssociatedProjectObjects
Description copied from interface:FieldConfigSchemeThe associated projects, or an empty list if none associated.- Specified by:
getAssociatedProjectObjectsin interfaceFieldConfigScheme- Returns:
- a not null list.
- See Also:
-
getAssociatedProjectIds
Description copied from interface:FieldConfigSchemeThe associated projectIds, or an empty list if none associated. Note that any null project IDs are removed for compatibility with existing behaviour inFieldConfigScheme.getAssociatedProjectObjects().- Specified by:
getAssociatedProjectIdsin interfaceFieldConfigScheme- Returns:
- a not null list.
- See Also:
-
getAssociatedIssueTypes
Description copied from interface:FieldConfigSchemeReturns the associated Issue Types.- Specified by:
getAssociatedIssueTypesin interfaceFieldConfigScheme- Returns:
- the associated Issue Types.
-
getAssociatedIssueTypeIds
Description copied from interface:FieldConfigSchemeReturns the ids for the associated Issue Types.- Specified by:
getAssociatedIssueTypeIdsin interfaceFieldConfigScheme- Returns:
- ids for the associated Issue Types.
-
isGlobal
public boolean isGlobal()- Specified by:
isGlobalin interfaceFieldConfigScheme
-
isAllProjects
public boolean isAllProjects()- Specified by:
isAllProjectsin interfaceFieldConfigScheme
-
isAllIssueTypes
public boolean isAllIssueTypes()- Specified by:
isAllIssueTypesin interfaceFieldConfigScheme
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceFieldConfigScheme
-
isBasicMode
public boolean isBasicMode()- Specified by:
isBasicModein interfaceFieldConfigScheme
-
getConfigsByConfig
public org.apache.commons.collections.MultiMap getConfigsByConfig()Description copied from interface:FieldConfigSchemeReturns a Map whose key is aFieldConfigand values are associated aCollectionIssue TypeGenericValue- Specified by:
getConfigsByConfigin interfaceFieldConfigScheme- Returns:
- MultiMap of configs.
-
getOneAndOnlyConfig
Description copied from interface:FieldConfigSchemeReturns the one and only config for this scheme if there's only one config associated.- Specified by:
getOneAndOnlyConfigin interfaceFieldConfigScheme- Returns:
- The associated
FieldConfig. Null if no configs, or more than one config
-
equals
-
compareTo
-
hashCode
public int hashCode()
-