Interface StatusItem
- All Superinterfaces:
Item<StatusField>
- All Known Subinterfaces:
UnknownStatusItem
Represents an item of a
StatusField
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(StatusItem otherItem) Compare two itemsgetText()
Get the current text of the itemgetType()
Get the current type of the itemvoid
Change the text of the itemvoid
setType
(StatusItemType type) Change the type of the itemMethods inherited from interface com.deiser.jira.profields.api.field.item.Item
getField, getId, getPosition
-
Method Details
-
setText
Change the text of the item- Parameters:
text
- The new text
-
getText
String getText()Get the current text of the item- Returns:
- The text
-
setType
Change the type of the item- Parameters:
type
- The new type
-
getType
StatusItemType getType()Get the current type of the item- Returns:
- The type
-
compareTo
Compare two items- Parameters:
otherItem
- the item to compare- Returns:
- 0 if they are equals, positive if current item is bigger than the other or negative if not
-