|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A field config scheme is a set of 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.
Method Summary | |
Set |
getAssociatedIssueTypes()
|
List |
getAssociatedProjectCategories()
|
List |
getAssociatedProjects()
|
Map |
getConfigs()
Returns a Map whose key is a GenericValue 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 |
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)
|
void |
setConfigs(Map configs)
Sets a Map whose key is a GenericValue of issue types and the value is the FieldConfig
for that issue type |
void |
setContexts(List applicableContexts)
Sets the available cotext |
void |
setDescription(String description)
|
void |
setFieldId(String fieldId)
|
void |
setId(Long id)
|
void |
setName(String name)
|
Method Detail |
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public Map getConfigs()
GenericValue
of issue types and the value is the FieldConfig
for that issue type
FieldConfig
keyed by GenericValue
. Null if nothing associatedpublic void setConfigs(Map configs)
GenericValue
of issue types and the value is the FieldConfig
for that issue type
configs
- Map of FieldConfig
keyed by GenericValue
public Long getId()
public void setId(Long id)
public List getContexts()
JiraContextNode
objects this scheme is relevent to
JiraContextNode
. Collections.EMPTY_LIST
if no contextspublic void setContexts(List applicableContexts)
applicableContexts
- list of JiraContextNode
public boolean isInContext(IssueContext issueContext)
public List getAssociatedProjectCategories()
public List getAssociatedProjects()
public Set getAssociatedIssueTypes()
public boolean isGlobal()
public boolean isAllProjects()
public boolean isAllIssueTypes()
public boolean isEnabled()
public boolean isBasicMode()
public org.apache.commons.collections.MultiMap getConfigsByConfig()
FieldConfig
and values are associated a Collection
Issue Type GenericValue
public FieldConfig getOneAndOnlyConfig()
FieldConfig
. Null if no configs, or more than one configpublic void setFieldId(String fieldId)
public ConfigurableField getField()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |