Interface ISignatureStateOpt
- All Superinterfaces:
IEnumOption
Overall signature state of a workflow signature.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface com.polarion.platform.persistence.IEnumOption
PROPERTY_KEY_COLOR, PROPERTY_KEY_DEFAULT, PROPERTY_KEY_DESCRIPTION, PROPERTY_KEY_HIDDEN, PROPERTY_KEY_ICON_URL, PROPERTY_KEY_UI_LINK, PROPERTY_KEY_URI
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if it is allowed to perform the workflow transition if its workflow signature has this signature state.boolean
isActive()
Returnstrue
if this option represents an active state of the workflow signature, i.e.boolean
isClosed()
Returnstrue
if this option represents a closed state of the workflow signature, i.e.boolean
Checks whether it is obsoleteMethods inherited from interface com.polarion.platform.persistence.IEnumOption
getEnumId, getId, getName, getProperties, getProperty, getSequenceNumber, isDefault, isHidden, isPhantom
-
Field Details
-
OPT_NOT_AVAILABLE
- See Also:
-
OPT_PENDING
- See Also:
-
OPT_DECLINED
- See Also:
-
OPT_READY
- See Also:
-
OPT_DONE
- See Also:
-
OPT_OBSOLETE
- See Also:
-
-
Method Details
-
canPerformTransition
boolean canPerformTransition()Checks if it is allowed to perform the workflow transition if its workflow signature has this signature state. -
isObsolete
boolean isObsolete()Checks whether it is obsolete -
isClosed
boolean isClosed()Returnstrue
if this option represents a closed state of the workflow signature, i.e. if this option isOPT_DONE
orOPT_OBSOLETE
. -
isActive
boolean isActive()Returnstrue
if this option represents an active state of the workflow signature, i.e. state when signature verdicts can be set (OPT_PENDING
,OPT_READY
orOPT_DECLINED
).
-