com.atlassian.jira.imports.project.customfield
Class ExternalCustomFieldConfiguration

java.lang.Object
  extended by com.atlassian.jira.imports.project.customfield.ExternalCustomFieldConfiguration

public class ExternalCustomFieldConfiguration
extends Object

Holds a single configuration for a custom field and a reference to the ExternalCustomField.

Since:
v3.13

Constructor Summary
ExternalCustomFieldConfiguration(List constrainedIssueTypes, String constrainedProjectId, ExternalCustomField customField, String configurationSchemeId)
           
 
Method Summary
 boolean equals(Object o)
           
 String getConfigurationSchemeId()
           
 List getConstrainedIssueTypes()
           
 String getConstrainedProjectId()
           
 ExternalCustomField getCustomField()
           
 int hashCode()
           
 boolean isConstrainedForIssueType(String issueTypeId)
           
 boolean isForAllIssueTypes()
           
 boolean isForAllProjects()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExternalCustomFieldConfiguration

public ExternalCustomFieldConfiguration(List constrainedIssueTypes,
                                        String constrainedProjectId,
                                        ExternalCustomField customField,
                                        String configurationSchemeId)
Parameters:
constrainedIssueTypes - the issue types that this custom field configuration is relevant for, a null list implies relevance for all issue types.
constrainedProjectId - the project that this custom field configuration is relevant for.
customField - the customField this configuration describes.
configurationSchemeId - is the id the represents this custom field configuration in the old system.
Method Detail

getConstrainedIssueTypes

public List getConstrainedIssueTypes()

getConstrainedProjectId

public String getConstrainedProjectId()

getCustomField

public ExternalCustomField getCustomField()

getConfigurationSchemeId

public String getConfigurationSchemeId()

isConstrainedForIssueType

public boolean isConstrainedForIssueType(String issueTypeId)

isForAllIssueTypes

public boolean isForAllIssueTypes()

isForAllProjects

public boolean isForAllProjects()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2008 Atlassian. All Rights Reserved.