public class MockFieldConfigScheme extends Object implements FieldConfigScheme
FieldConfigScheme.Builder
Constructor and Description |
---|
MockFieldConfigScheme() |
Modifier and Type | Method and Description |
---|---|
MockFieldConfigScheme |
addAssociatedProjects(org.ofbiz.core.entity.GenericValue gv) |
boolean |
equals(Object o) |
Collection<String> |
getAssociatedIssueTypeIds()
Returns the associated Issue Types.
|
Collection<IssueType> |
getAssociatedIssueTypeObjects()
Returns the associated Issue Types.
|
Set<org.ofbiz.core.entity.GenericValue> |
getAssociatedIssueTypes()
Returns the associated Issue Types.
|
List<org.ofbiz.core.entity.GenericValue> |
getAssociatedProjectCategories() |
List<ProjectCategory> |
getAssociatedProjectCategoryObjects() |
List<Long> |
getAssociatedProjectIds()
The associated projectIds, or an empty list if none associated.
|
List<Project> |
getAssociatedProjectObjects()
The associated projects, or an empty list if none associated.
|
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) |
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 typegetConfigs
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 togetContexts
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 List<ProjectCategory> getAssociatedProjectCategoryObjects()
getAssociatedProjectCategoryObjects
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 List<Project> getAssociatedProjectObjects()
FieldConfigScheme
getAssociatedProjectObjects
in interface FieldConfigScheme
FieldConfigScheme.getAssociatedProjectIds()
public List<Long> getAssociatedProjectIds()
FieldConfigScheme
FieldConfigScheme.getAssociatedProjectObjects()
.getAssociatedProjectIds
in interface FieldConfigScheme
FieldConfigScheme.getAssociatedProjectObjects()
public Set<org.ofbiz.core.entity.GenericValue> getAssociatedIssueTypes()
FieldConfigScheme
getAssociatedIssueTypes
in interface FieldConfigScheme
public Collection<IssueType> getAssociatedIssueTypeObjects()
FieldConfigScheme
getAssociatedIssueTypeObjects
in interface FieldConfigScheme
@Nonnull public Collection<String> getAssociatedIssueTypeIds()
FieldConfigScheme
getAssociatedIssueTypeIds
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
Copyright © 2002-2015 Atlassian. All Rights Reserved.