@Internal public class

FieldConfigSchemeImpl

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

@Internal

This class is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

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.
Collection<IssueType> getAssociatedIssueTypes()
Returns the associated Issue Types.
@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.
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 Collection<IssueType> getAssociatedIssueTypes ()

Returns the associated Issue Types.

Returns
  • the associated Issue Types.

@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 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)