public class CustomFieldParserImpl extends Object implements CustomFieldParser
CUSTOM_FIELD_CONFIGURATION_ENTITY_NAME, CUSTOM_FIELD_ENTITY_NAME, CUSTOM_FIELD_SCHEME_ISSUE_TYPE_ENTITY_NAME
Constructor and Description |
---|
CustomFieldParserImpl() |
Modifier and Type | Method and Description |
---|---|
ExternalCustomField |
parseCustomField(Map attributes)
Parses the custom field data from the backup XML.
|
BackupOverviewBuilder.ConfigurationContext |
parseCustomFieldConfiguration(Map attributes)
Parses the custom field configuration context data from the backup XML.
|
BackupOverviewBuilder.FieldConfigSchemeIssueType |
parseFieldConfigSchemeIssueType(Map attributes)
Parses the custom field issue type configuration context data from the backup XML.
|
public ExternalCustomField parseCustomField(Map attributes) throws ParseException
CustomFieldParser
parseCustomField
in interface CustomFieldParser
attributes
- is a map of key value pairs that represent the attributes of an ExternalCustomField. The following
attributes are required, otherwise a ParseException will be thrown:ParseException
- if the required fields are not found in the attributes mappublic BackupOverviewBuilder.ConfigurationContext parseCustomFieldConfiguration(Map attributes) throws ParseException
CustomFieldParser
com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.FieldConfigSchemeIssueType
constraints.parseCustomFieldConfiguration
in interface CustomFieldParser
attributes
- is a map of key value pairs that represent the attributes of an ConfigurationContext. The following
attributes are required, otherwise a ParseException will be thrown:ParseException
- if the attributes map does not contain the required fields or the field data is invalidpublic BackupOverviewBuilder.FieldConfigSchemeIssueType parseFieldConfigSchemeIssueType(Map attributes) throws ParseException
CustomFieldParser
com.atlassian.jira.imports.project.core.BackupOverviewBuilderImpl.ConfigurationContext
,
if any exist.parseFieldConfigSchemeIssueType
in interface CustomFieldParser
attributes
- is a map of key value pairs that represent the attributes of an FieldConfigSchemeIssueType. The following
attributes are required, otherwise a ParseException will be thrown:ParseException
- if the attributes do not contain a required fieldCopyright © 2002-2016 Atlassian. All Rights Reserved.