|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.fields.config.FieldConfigSchemeImpl
Constructor Summary | |
FieldConfigSchemeImpl()
|
|
FieldConfigSchemeImpl(String name,
String description)
|
Method Summary | |
int |
compareTo(Object obj)
|
boolean |
equals(Object o)
|
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 |
int |
hashCode()
|
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)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FieldConfigSchemeImpl()
public FieldConfigSchemeImpl(String name, String description)
Method Detail |
public String getName()
getName
in interface FieldConfigScheme
public void setName(String name)
setName
in interface FieldConfigScheme
public String getDescription()
getDescription
in interface FieldConfigScheme
public void setDescription(String description)
setDescription
in interface FieldConfigScheme
public Map getConfigs()
FieldConfigScheme
GenericValue
of issue types and the value is the FieldConfig
for that issue type
getConfigs
in interface FieldConfigScheme
FieldConfig
keyed by GenericValue
. Null if nothing associatedpublic void setConfigs(Map configs)
FieldConfigScheme
GenericValue
of issue types and the value is the FieldConfig
for that issue type
setConfigs
in interface FieldConfigScheme
configs
- Map of FieldConfig
keyed by GenericValue
public Long getId()
getId
in interface FieldConfigScheme
public void setId(Long id)
setId
in interface FieldConfigScheme
public List getContexts()
FieldConfigScheme
JiraContextNode
objects this scheme is relevent to
getContexts
in interface FieldConfigScheme
JiraContextNode
. Collections.EMPTY_LIST
if no contextspublic void setContexts(List applicableContexts)
FieldConfigScheme
setContexts
in interface FieldConfigScheme
applicableContexts
- list of JiraContextNode
public void setFieldId(String fieldId)
setFieldId
in interface FieldConfigScheme
public ConfigurableField getField()
getField
in interface FieldConfigScheme
public boolean isInContext(IssueContext issueContext)
isInContext
in interface FieldConfigScheme
public List getAssociatedProjectCategories()
getAssociatedProjectCategories
in interface FieldConfigScheme
public List getAssociatedProjects()
getAssociatedProjects
in interface FieldConfigScheme
public Set getAssociatedIssueTypes()
getAssociatedIssueTypes
in interface FieldConfigScheme
public boolean isGlobal()
isGlobal
in interface FieldConfigScheme
public boolean isAllProjects()
isAllProjects
in interface FieldConfigScheme
public boolean isAllIssueTypes()
isAllIssueTypes
in interface FieldConfigScheme
public boolean isEnabled()
isEnabled
in interface FieldConfigScheme
public boolean isBasicMode()
isBasicMode
in interface FieldConfigScheme
public org.apache.commons.collections.MultiMap getConfigsByConfig()
FieldConfigScheme
FieldConfig
and values are associated a Collection
Issue Type GenericValue
getConfigsByConfig
in interface FieldConfigScheme
public FieldConfig getOneAndOnlyConfig()
FieldConfigScheme
getOneAndOnlyConfig
in interface FieldConfigScheme
FieldConfig
. Null if no configs, or more than one configpublic boolean equals(Object o)
public int compareTo(Object obj)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |