|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 FieldConfigSchemepublic MockFieldConfigScheme setName(String name)
public String getDescription()
getDescription in interface FieldConfigSchemepublic Map<String,FieldConfig> getConfigs()
FieldConfigSchemeString of issue types and the value is the FieldConfig
for that issue type
getConfigs in interface FieldConfigSchemeFieldConfig keyed by name. Null if nothing associatedpublic Long getId()
getId in interface FieldConfigSchemepublic MockFieldConfigScheme setId(Long id)
public List<JiraContextNode> getContexts()
FieldConfigSchemeJiraContextNode objects this scheme is relevent to
getContexts in interface FieldConfigSchemeJiraContextNode. an empty list if no contextspublic boolean isInContext(IssueContext issueContext)
isInContext in interface FieldConfigSchemepublic List<org.ofbiz.core.entity.GenericValue> getAssociatedProjectCategories()
getAssociatedProjectCategories in interface FieldConfigSchemepublic 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 FieldConfigSchemepublic Set<org.ofbiz.core.entity.GenericValue> getAssociatedIssueTypes()
getAssociatedIssueTypes in interface FieldConfigSchemepublic boolean isGlobal()
isGlobal in interface FieldConfigSchemepublic boolean isAllProjects()
isAllProjects in interface FieldConfigSchemepublic boolean isAllIssueTypes()
isAllIssueTypes in interface FieldConfigSchemepublic boolean isEnabled()
isEnabled in interface FieldConfigSchemepublic boolean isBasicMode()
isBasicMode in interface FieldConfigSchemepublic org.apache.commons.collections.MultiMap getConfigsByConfig()
FieldConfigSchemeFieldConfig and values are associated a Collection Issue Type GenericValue
getConfigsByConfig in interface FieldConfigSchemepublic FieldConfig getOneAndOnlyConfig()
FieldConfigScheme
getOneAndOnlyConfig in interface FieldConfigSchemeFieldConfig. Null if no configs, or more than one configpublic ConfigurableField getField()
getField in interface FieldConfigSchemepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||