@ExperimentalApi public class MoveFieldInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MoveFieldInfo.MoveFieldPosition |
Constructor and Description |
---|
MoveFieldInfo(Optional<String> afterField,
Optional<MoveFieldInfo.MoveFieldPosition> desiredPosition)
Creates new instance of move intent.
|
Modifier and Type | Method and Description |
---|---|
static MoveFieldInfo |
after(String field)
Creates a new instance with intent of moving after some other field on given tab.
|
Optional<String> |
getAfterField() |
Optional<MoveFieldInfo.MoveFieldPosition> |
getDesiredPosition() |
static MoveFieldInfo |
ofPosition(MoveFieldInfo.MoveFieldPosition position)
Creates a new instance with intent of moving given field absolutely
|
public MoveFieldInfo(Optional<String> afterField, Optional<MoveFieldInfo.MoveFieldPosition> desiredPosition)
afterField
- expresses an intent of move given field after already existing fielddesiredPosition
- expresses intent of move given field disregarding other fieldspublic Optional<MoveFieldInfo.MoveFieldPosition> getDesiredPosition()
public static MoveFieldInfo after(String field)
field
- a field's IDpublic static MoveFieldInfo ofPosition(MoveFieldInfo.MoveFieldPosition position)
position
- desired positionCopyright © 2002-2018 Atlassian. All Rights Reserved.