|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrackbackParser
Converts trackback xml in a JIRA backup to an object representation and converts the object representation
into EntityRepresentation
.
Field Summary | |
---|---|
static String |
TRACKBACK_ENTITY_NAME
|
Method Summary | |
---|---|
EntityRepresentation |
getEntityRepresentation(ExternalTrackback trackback)
Gets an EntityRepresentation that contains the correct attributes based on the populated fields in the provided trackback. |
ExternalTrackback |
parse(Map attributes)
Parses the trackback data from the backup XML. |
Field Detail |
---|
static final String TRACKBACK_ENTITY_NAME
Method Detail |
---|
ExternalTrackback parse(Map attributes) throws ParseException
attributes
- is a map of key value pairs that represent the attributes of an ExternalTrackback. The following
attributes are required, otherwise a ParseException will be thrown:ParseException
- if the required fields are not found in the attributes mapEntityRepresentation getEntityRepresentation(ExternalTrackback trackback)
trackback
- contains the populated fields that will end up in the EntityRepresentations map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |