Class ExternalCustomFieldConfiguration
java.lang.Object
com.atlassian.jira.imports.project.customfield.ExternalCustomFieldConfiguration
Holds a single configuration for a custom field and a reference to the
ExternalCustomField.- Since:
- v3.13
-
Constructor Summary
ConstructorsConstructorDescriptionExternalCustomFieldConfiguration(List constrainedIssueTypes, String constrainedProjectId, ExternalCustomField customField, String configurationSchemeId) Deprecated.fieldConfigId and configurationSchemeId properties do not necessarily have to have equal values thus the former one should be explicitly specified when creating an instance of this class, just like the latter one.ExternalCustomFieldConfiguration(List constrainedIssueTypes, String constrainedProjectId, ExternalCustomField customField, String configurationSchemeId, String fieldConfigId) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisConstrainedForIssueType(String issueTypeId) booleanbooleantoString()
-
Constructor Details
-
ExternalCustomFieldConfiguration
public ExternalCustomFieldConfiguration(List constrainedIssueTypes, String constrainedProjectId, ExternalCustomField customField, String configurationSchemeId, String fieldConfigId) - 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- the id of the custom field configuration scheme in the old system.fieldConfigId- the id of the custom field configuration in the old system.
-
ExternalCustomFieldConfiguration
@Deprecated public ExternalCustomFieldConfiguration(List constrainedIssueTypes, String constrainedProjectId, ExternalCustomField customField, String configurationSchemeId) Deprecated.fieldConfigId and configurationSchemeId properties do not necessarily have to have equal values thus the former one should be explicitly specified when creating an instance of this class, just like the latter one. Objects created with this constructor may become the reason for a failed project import, see https://jira.atlassian.com/browse/JRASERVER-65734. Since v7.6.7
-
-
Method Details
-
getConstrainedIssueTypes
-
getConstrainedProjectId
-
getCustomField
-
getConfigurationSchemeId
-
getFieldConfigId
-
isConstrainedForIssueType
-
isForAllIssueTypes
public boolean isForAllIssueTypes() -
isForAllProjects
public boolean isForAllProjects() -
toString
-
equals
-
hashCode
public int hashCode()
-