Class MoveFieldInfo
java.lang.Object
com.atlassian.jira.bc.issue.fields.screen.MoveFieldInfo
Represents intention to move a field along the screen
- Since:
- v7.4
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMoveFieldInfo
(Optional<String> afterField, Optional<MoveFieldInfo.MoveFieldPosition> desiredPosition) Creates new instance of move intent. -
Method Summary
Modifier and TypeMethodDescriptionstatic MoveFieldInfo
Creates a new instance with intent of moving after some other field on given tab.static MoveFieldInfo
ofPosition
(MoveFieldInfo.MoveFieldPosition position) Creates a new instance with intent of moving given field absolutely
-
Constructor Details
-
MoveFieldInfo
public MoveFieldInfo(Optional<String> afterField, Optional<MoveFieldInfo.MoveFieldPosition> desiredPosition) Creates new instance of move intent. It should contain one and only one actual intent.- Parameters:
afterField
- expresses an intent of move given field after already existing fielddesiredPosition
- expresses intent of move given field disregarding other fields
-
-
Method Details
-
getAfterField
-
getDesiredPosition
-
after
Creates a new instance with intent of moving after some other field on given tab.- Parameters:
field
- a field's ID- Returns:
- a new move intent
-
ofPosition
Creates a new instance with intent of moving given field absolutely- Parameters:
position
- desired position- Returns:
- a new move intent
-