public interface EntityPropertyParser
EntityRepresentation
.Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_PROPERTY_ENTITY_NAME |
Modifier and Type | Method and Description |
---|---|
EntityRepresentation |
getEntityRepresentation(ExternalEntityProperty entityProperty,
Long newEntityId)
Gets an EntityRepresentation that contains the correct attributes based on the populated fields in the provided
entity property.
|
ExternalEntityProperty |
parse(Map<String,String> attributes)
Parses the entity property data from the backup XML.
|
static final String ENTITY_PROPERTY_ENTITY_NAME
ExternalEntityProperty parse(Map<String,String> attributes) throws ParseException
attributes
- is a map of key value pairs that represent the attributes of an ExternalEntityProperty. The
following attributes are required, otherwise a ParseException will be thrown:ParseException
- if the required fields are not found in the attributes mapEntityRepresentation getEntityRepresentation(ExternalEntityProperty entityProperty, Long newEntityId)
entityProperty
- contains the populated fields that will end up in the EntityRepresentations mapnewEntityId
- new id for external entityCopyright © 2002-2015 Atlassian. All Rights Reserved.