public class

FieldConfigSchemeImpl

extends Object
implements FieldConfigScheme
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.config.FieldConfigSchemeImpl

Summary

Public Constructors
FieldConfigSchemeImpl(Long id, String fieldId, String name, String description, Map<StringFieldConfig> configs, FieldConfigContextPersister configContextPersister)
Public Methods
int compareTo(Object obj)
boolean equals(Object o)
@Nonnull Collection<String> getAssociatedIssueTypeIds()
Returns the associated Issue Types.
Collection<IssueType> getAssociatedIssueTypeObjects()
Returns the associated Issue Types.
Set<GenericValue> getAssociatedIssueTypes()
Returns the associated Issue Types.
List<GenericValue> getAssociatedProjectCategories()
List<ProjectCategory> getAssociatedProjectCategoryObjects()
@Nonnull 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<GenericValue> getAssociatedProjects()
The associated projects, or an empty list if none associated.
Map<StringFieldConfig> getConfigs()
Returns a Map whose key is a String of issue types and the value is the FieldConfig for that issue type
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)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.config.FieldConfigScheme

Public Constructors

public FieldConfigSchemeImpl (Long id, String fieldId, String name, String description, Map<StringFieldConfig> configs, FieldConfigContextPersister configContextPersister)

Public Methods

public int compareTo (Object obj)

public boolean equals (Object o)

@Nonnull public Collection<String> getAssociatedIssueTypeIds ()

Returns the associated Issue Types.

Returns
  • the associated Issue Types.

public Collection<IssueType> getAssociatedIssueTypeObjects ()

Returns the associated Issue Types.

Returns
  • the associated Issue Types.

public Set<GenericValue> getAssociatedIssueTypes ()

Returns the associated Issue Types.

Returns
  • the associated Issue Types.

public List<GenericValue> getAssociatedProjectCategories ()

public List<ProjectCategory> getAssociatedProjectCategoryObjects ()

@Nonnull public List<Long> getAssociatedProjectIds ()

The associated projectIds, or an empty list if none associated. Note that any null project IDs are removed for compatibility with existing behaviour in getAssociatedProjectObjects().

Returns
  • a not null list.

public List<Project> getAssociatedProjectObjects ()

The associated projects, or an empty list if none associated.

Returns
  • a not null list.

public List<GenericValue> getAssociatedProjects ()

The associated projects, or an empty list if none associated.

Returns
  • a not null list.

public Map<StringFieldConfig> getConfigs ()

Returns a Map whose key is a String of issue types and the value is the FieldConfig for that issue type

Returns
  • Map of FieldConfig keyed by name. Null if nothing associated

public MultiMap getConfigsByConfig ()

Returns a Map whose key is a FieldConfig and values are associated a Collection Issue Type GenericValue

Returns
  • MultiMap of configs.

public List<JiraContextNode> getContexts ()

Returns a list of JiraContextNode objects this scheme is relevent to

Returns

public String getDescription ()

public ConfigurableField getField ()

public Long getId ()

public String getName ()

public FieldConfig getOneAndOnlyConfig ()

Returns the one and only config for this scheme iff there's only one config associated

Returns
  • The associated FieldConfig. Null if no configs, or more than one config

public int hashCode ()

public boolean isAllIssueTypes ()

public boolean isAllProjects ()

public boolean isBasicMode ()

public boolean isEnabled ()

public boolean isGlobal ()

public boolean isInContext (IssueContext issueContext)