Package com.atlassian.jira.issue.export
Class FieldExportParts
java.lang.Object
com.atlassian.jira.issue.export.FieldExportParts
This represents a Field to be exported and can contain multiple parts within it.
It is common to have just one "part" but a complex field may want more than one. For example, a "Money" field might have a "currency" part and an "amount" part.
In turn, each part may have a single value or multiple values (for multi-value fields). for building this object.
- Since:
- 7.2.0
-
Method Summary
Modifier and TypeMethodDescriptiongetParts()
Each field export can have multiple parts within it that represent a different component of the field.getPartWithId
(String id) Each of the parts in the field export have an id to represent it.
-
Method Details
-
getParts
Each field export can have multiple parts within it that represent a different component of the field. This returns the list of these parts in order that it should be outputted as.- Returns:
- the list of parts that are needed to represent this field representation.
-
getPartWithId
Each of the parts in the field export have an id to represent it. This returns the part with a given id or an emptyOption
if it cannot be found.- Parameters:
id
- to find the part for- Returns:
- optional part
-