@PublicApi
public interface FieldConfigScheme
FieldConfig
objects that has been associated to a particular set of IssueType
s
and then associated to a series of contexts (JiraContextNode
). Methods return List
will generally return nulls
unless specified.Modifier and Type | Interface and Description |
---|---|
static class |
FieldConfigScheme.Builder |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAssociatedIssueTypeIds()
Returns the associated Issue Types.
|
default Collection<IssueType> |
getAssociatedIssueTypeObjects()
Deprecated.
Since v7.0
|
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 relevent to |
String |
getDescription() |
ConfigurableField<?> |
getField() |
Long |
getId() |
String |
getName() |
FieldConfig |
getOneAndOnlyConfig()
Returns the one and only config for this scheme iff there's only one config associated
|
boolean |
isAllIssueTypes() |
boolean |
isAllProjects() |
boolean |
isBasicMode() |
boolean |
isEnabled() |
boolean |
isGlobal() |
boolean |
isInContext(IssueContext issueContext) |
String getName()
String getDescription()
Map<String,FieldConfig> getConfigs()
String
of issue types and the value is the FieldConfig
for that issue typeFieldConfig
keyed by name. Null if nothing associatedLong getId()
List<JiraContextNode> getContexts()
JiraContextNode
objects this scheme is relevent toJiraContextNode
. an empty list if no contextsboolean isInContext(IssueContext issueContext)
List<Project> getAssociatedProjectObjects()
getAssociatedProjectIds()
@Nonnull List<Long> getAssociatedProjectIds()
getAssociatedProjectObjects()
.getAssociatedProjectObjects()
Collection<IssueType> getAssociatedIssueTypes()
@Deprecated default Collection<IssueType> getAssociatedIssueTypeObjects()
@Nonnull Collection<String> getAssociatedIssueTypeIds()
boolean isGlobal()
boolean isAllProjects()
boolean isAllIssueTypes()
boolean isEnabled()
boolean isBasicMode()
org.apache.commons.collections.MultiMap getConfigsByConfig()
FieldConfig
and values are associated a Collection
Issue Type GenericValue
@Nullable FieldConfig getOneAndOnlyConfig()
FieldConfig
. Null if no configs, or more than one configConfigurableField<?> getField()
Copyright © 2002-2017 Atlassian. All Rights Reserved.