@Internal public class FieldConfigSchemeImpl extends Object implements FieldConfigScheme
FieldConfigScheme.Builder| Constructor and Description |
|---|
FieldConfigSchemeImpl(Long id,
String fieldId,
String name,
String description,
Map<String,FieldConfig> configs,
FieldConfigContextPersister configContextPersister) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj) |
boolean |
equals(Object o) |
Collection<String> |
getAssociatedIssueTypeIds()
Returns the associated Issue Types.
|
Collection<IssueType> |
getAssociatedIssueTypes()
Returns the associated Issue Types.
|
List<Long> |
getAssociatedProjectIds()
The associated projectIds, or an empty list if none associated.
|
List<Project> |
getAssociatedProjectObjects()
The associated projects, or an empty list if none associated.
|
Map<String,FieldConfig> |
getConfigs()
Returns a Map whose key is a
String of issue types and the value is the FieldConfig
for that issue type |
org.apache.commons.collections.MultiMap |
getConfigsByConfig()
Returns a Map whose key is a
FieldConfig and values are associated a Collection Issue Type GenericValue |
List<JiraContextNode> |
getContexts()
Returns a list of
JiraContextNode objects this scheme is relevant to |
String |
getDescription() |
ConfigurableField<?> |
getField() |
Long |
getId() |
String |
getName() |
FieldConfig |
getOneAndOnlyConfig()
Returns the one and only config for this scheme if there's only one config associated.
|
int |
hashCode() |
boolean |
isAllIssueTypes() |
boolean |
isAllProjects() |
boolean |
isBasicMode() |
boolean |
isEnabled() |
boolean |
isGlobal() |
boolean |
isInContext(IssueContext issueContext) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAssociatedIssueTypeObjectspublic FieldConfigSchemeImpl(Long id, String fieldId, String name, String description, Map<String,FieldConfig> configs, FieldConfigContextPersister configContextPersister)
public String getName()
getName in interface FieldConfigSchemepublic String getDescription()
getDescription in interface FieldConfigSchemepublic Map<String,FieldConfig> getConfigs()
FieldConfigSchemeString of issue types and the value is the FieldConfig
for that issue typegetConfigs in interface FieldConfigSchemeFieldConfig keyed by name. Null if nothing associatedpublic List<JiraContextNode> getContexts()
FieldConfigSchemeJiraContextNode objects this scheme is relevant togetContexts in interface FieldConfigSchemeJiraContextNode. an empty list if no contextspublic Long getId()
getId in interface FieldConfigSchemepublic ConfigurableField<?> getField()
getField in interface FieldConfigSchemepublic boolean isInContext(IssueContext issueContext)
isInContext in interface FieldConfigSchemepublic List<Project> getAssociatedProjectObjects()
FieldConfigSchemegetAssociatedProjectObjects in interface FieldConfigSchemeFieldConfigScheme.getAssociatedProjectIds()@Nonnull public List<Long> getAssociatedProjectIds()
FieldConfigSchemeFieldConfigScheme.getAssociatedProjectObjects().getAssociatedProjectIds in interface FieldConfigSchemeFieldConfigScheme.getAssociatedProjectObjects()public Collection<IssueType> getAssociatedIssueTypes()
FieldConfigSchemegetAssociatedIssueTypes in interface FieldConfigScheme@Nonnull public Collection<String> getAssociatedIssueTypeIds()
FieldConfigSchemegetAssociatedIssueTypeIds in interface FieldConfigSchemepublic boolean isGlobal()
isGlobal in interface FieldConfigSchemepublic boolean isAllProjects()
isAllProjects in interface FieldConfigSchemepublic boolean isAllIssueTypes()
isAllIssueTypes in interface FieldConfigSchemepublic boolean isEnabled()
isEnabled in interface FieldConfigSchemepublic boolean isBasicMode()
isBasicMode in interface FieldConfigSchemepublic org.apache.commons.collections.MultiMap getConfigsByConfig()
FieldConfigSchemeFieldConfig and values are associated a Collection Issue Type GenericValuegetConfigsByConfig in interface FieldConfigScheme@Nullable public FieldConfig getOneAndOnlyConfig()
FieldConfigSchemegetOneAndOnlyConfig in interface FieldConfigSchemeFieldConfig. Null if no configs, or more than one configpublic int compareTo(Object obj)
Copyright © 2002-2018 Atlassian. All Rights Reserved.