|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldConfigScheme
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 |
---|
String getName()
void setName(String name)
String getDescription()
void setDescription(String description)
Map getConfigs()
GenericValue
of issue types and the value is the FieldConfig
for that issue type
FieldConfig
keyed by GenericValue
. Null if nothing associatedvoid setConfigs(Map configs)
GenericValue
of issue types and the value is the FieldConfig
for that issue type
configs
- Map of FieldConfig
keyed by GenericValue
Long getId()
void setId(Long id)
List getContexts()
JiraContextNode
objects this scheme is relevent to
JiraContextNode
. Collections.EMPTY_LIST
if no contextsvoid setContexts(List applicableContexts)
applicableContexts
- list of JiraContextNode
boolean isInContext(IssueContext issueContext)
List getAssociatedProjectCategories()
List getAssociatedProjects()
Set getAssociatedIssueTypes()
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 configvoid setFieldId(String fieldId)
ConfigurableField getField()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |