public interface NodeAssociationParser
Modifier and Type | Field and Description |
---|---|
static String |
AFFECTS_VERSION_TYPE |
static String |
COMPONENT_TYPE |
static String |
FIX_VERSION_TYPE |
static String |
NODE_ASSOCIATION_ENTITY_NAME |
static String |
PROJECT_SCHEME_TYPE |
Modifier and Type | Method and Description |
---|---|
EntityRepresentation |
getEntityRepresentation(ExternalNodeAssociation nodeAssociation)
Gets an EntityRepresentation that contains the correct attributes based on the populated fields in the
provided node association.
|
ExternalNodeAssociation |
parse(Map attributes)
Transforms a set of attributes into a NodeAssociation.
|
static final String NODE_ASSOCIATION_ENTITY_NAME
static final String COMPONENT_TYPE
static final String FIX_VERSION_TYPE
static final String AFFECTS_VERSION_TYPE
static final String PROJECT_SCHEME_TYPE
ExternalNodeAssociation parse(Map attributes) throws ParseException
attributes
- is a map of key value pairs that represent the attributes of a NodeAssocation. The following
attributes are required, otherwise a ParseException will be thrown:ParseException
- If the attributes are invalid.EntityRepresentation getEntityRepresentation(ExternalNodeAssociation nodeAssociation)
nodeAssociation
- contains the populated fields that will end up in the EntityRepresentations mapCopyright © 2002-2018 Atlassian. All Rights Reserved.