@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.
|
Collection<IssueType> |
getAssociatedIssueTypeObjects()
Returns the associated Issue Types.
|
Set<org.ofbiz.core.entity.GenericValue> |
getAssociatedIssueTypes()
Deprecated.
Use
getAssociatedIssueTypeObjects() instead. Since v6.1. |
List<org.ofbiz.core.entity.GenericValue> |
getAssociatedProjectCategories()
Deprecated.
since 5.2 use
getAssociatedProjectCategoryObjects() instead |
List<ProjectCategory> |
getAssociatedProjectCategoryObjects()
Deprecated.
Project Category contexts are not supported in JIRA and will be removed from the API. Since v6.4.
|
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.
|
List<org.ofbiz.core.entity.GenericValue> |
getAssociatedProjects()
Deprecated.
since 5.1 use
getAssociatedProjectObjects() instead |
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)
@Deprecated List<org.ofbiz.core.entity.GenericValue> getAssociatedProjectCategories()
getAssociatedProjectCategoryObjects()
insteadList<ProjectCategory> getAssociatedProjectCategoryObjects()
@Deprecated List<org.ofbiz.core.entity.GenericValue> getAssociatedProjects()
getAssociatedProjectObjects()
insteadList<Project> getAssociatedProjectObjects()
getAssociatedProjectIds()
@Nonnull List<Long> getAssociatedProjectIds()
getAssociatedProjectObjects()
.getAssociatedProjectObjects()
Set<org.ofbiz.core.entity.GenericValue> getAssociatedIssueTypes()
getAssociatedIssueTypeObjects()
instead. Since v6.1.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
FieldConfig getOneAndOnlyConfig()
FieldConfig
. Null if no configs, or more than one configConfigurableField getField()
Copyright © 2002-2015 Atlassian. All Rights Reserved.