Interface ProjectComponentParser
- All Known Implementing Classes:
ProjectComponentParserImpl
public interface ProjectComponentParser
Converts project component xml in a JIRA backup to an object representation.
- Since:
- v3.13
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionTransforms a set of attributes into an ExternalComponent.
-
Field Details
-
COMPONENT_ENTITY_NAME
Name of the Component Entity- See Also:
-
-
Method Details
-
parse
Transforms a set of attributes into an ExternalComponent.- Parameters:
attributes
- is a map of key value pairs that represent the attributes of an ExternalComponent. The following attributes are required, otherwise a ParseException will be thrown:
- id (required)
- project (required)
- name (required)
- Returns:
- an ExternalComponent the attributes contain id and key.
- Throws:
ParseException
- If the attributes are invalid.
-