Class Position
- java.lang.Object
-
- com.atlassian.confluence.api.model.content.Position
-
- All Implemented Interfaces:
Comparable<Position>
@ExperimentalApi public final class Position extends Object implements Comparable<Position>
Represents the position of a piece ofContent
among its siblings.A position of NONE means that Content will appear after any positioned siblings.
-
-
Field Summary
Fields Modifier and Type Field Description static Position
NONE
static String
POSITION_KEY
Used in the Content extensions map.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Position p)
static Position
deserialise(String str)
boolean
equals(Object o)
int
hashCode()
static Position
of(Integer position)
Object
serialise()
-
-
-
Field Detail
-
POSITION_KEY
public static final String POSITION_KEY
Used in the Content extensions map.- See Also:
- Constant Field Values
-
NONE
public static final Position NONE
-
-
Method Detail
-
serialise
public Object serialise()
-
compareTo
public int compareTo(Position p)
- Specified by:
compareTo
in interfaceComparable<Position>
-
-