com.atlassian.jira.imports.project.parser.NodeAssociationParser |
Known Indirect Subclasses
|
Class Overview
Converts issue version and component information from the backup XML to an object representation.
Constants
public
static
final
String
AFFECTS_VERSION_TYPE
Constant Value:
"IssueVersion"
public
static
final
String
COMPONENT_TYPE
Constant Value:
"IssueComponent"
public
static
final
String
FIX_VERSION_TYPE
Constant Value:
"IssueFixVersion"
public
static
final
String
NODE_ASSOCIATION_ENTITY_NAME
Constant Value:
"NodeAssociation"
Public Methods
Gets an EntityRepresentation that contains the correct attributes based on the populated fields in the
provided node association.
Parameters
nodeAssociation
| contains the populated fields that will end up in the EntityRepresentations map |
Returns
- an EntityRepresentation that can be persisted using OfBiz
Transforms a set of attributes into a NodeAssociation.
Parameters
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:
- sourceNodeId (required)
- sourceNodeEntity (required)
- sinkNodeId (required)
- sinkNodeEntity (required)
- associationType (required)
|
Returns
- a ExternalNodeAssociation if the attributes contain the required attributes.