|
||||||||||
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.MockFieldConfigScheme
public class MockFieldConfigScheme
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.issue.fields.config.FieldConfigScheme |
---|
FieldConfigScheme.Builder |
Constructor Summary | |
---|---|
MockFieldConfigScheme()
|
Method Summary | |
---|---|
MockFieldConfigScheme |
addAssociatedProjects(org.ofbiz.core.entity.GenericValue gv)
|
boolean |
equals(Object o)
|
Set<org.ofbiz.core.entity.GenericValue> |
getAssociatedIssueTypes()
|
List<org.ofbiz.core.entity.GenericValue> |
getAssociatedProjectCategories()
|
List<org.ofbiz.core.entity.GenericValue> |
getAssociatedProjects()
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 |
int |
hashCode()
|
boolean |
isAllIssueTypes()
|
boolean |
isAllProjects()
|
boolean |
isBasicMode()
|
boolean |
isEnabled()
|
boolean |
isGlobal()
|
boolean |
isInContext(IssueContext issueContext)
|
MockFieldConfigScheme |
setAssociatedProjects(List<org.ofbiz.core.entity.GenericValue> values)
|
MockFieldConfigScheme |
setId(Long id)
|
MockFieldConfigScheme |
setName(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockFieldConfigScheme()
Method Detail |
---|
public String getName()
getName
in interface FieldConfigScheme
public MockFieldConfigScheme setName(String name)
public String getDescription()
getDescription
in interface FieldConfigScheme
public Map<String,FieldConfig> getConfigs()
FieldConfigScheme
String
of issue types and the value is the FieldConfig
for that issue type
getConfigs
in interface FieldConfigScheme
FieldConfig
keyed by name. Null if nothing associatedpublic Long getId()
getId
in interface FieldConfigScheme
public MockFieldConfigScheme setId(Long id)
public List<JiraContextNode> getContexts()
FieldConfigScheme
JiraContextNode
objects this scheme is relevent to
getContexts
in interface FieldConfigScheme
JiraContextNode
. an empty list if no contextspublic boolean isInContext(IssueContext issueContext)
isInContext
in interface FieldConfigScheme
public List<org.ofbiz.core.entity.GenericValue> getAssociatedProjectCategories()
getAssociatedProjectCategories
in interface FieldConfigScheme
public MockFieldConfigScheme setAssociatedProjects(List<org.ofbiz.core.entity.GenericValue> values)
public MockFieldConfigScheme addAssociatedProjects(org.ofbiz.core.entity.GenericValue gv)
public List<org.ofbiz.core.entity.GenericValue> getAssociatedProjects()
FieldConfigScheme
getAssociatedProjects
in interface FieldConfigScheme
public Set<org.ofbiz.core.entity.GenericValue> 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 ConfigurableField getField()
getField
in interface FieldConfigScheme
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |