Interface ISignatureStateOpt
- All Superinterfaces:
IEnumOption
Overall signature state of a workflow signature.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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 TypeMethodDescriptionbooleanChecks if it is allowed to perform the workflow transition if its workflow signature has this signature state.booleanisActive()Returnstrueif this option represents an active state of the workflow signature, i.e.booleanisClosed()Returnstrueif this option represents a closed state of the workflow signature, i.e.booleanChecks 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()Returnstrueif this option represents a closed state of the workflow signature, i.e. if this option isOPT_DONEorOPT_OBSOLETE. -
isActive
boolean isActive()Returnstrueif this option represents an active state of the workflow signature, i.e. state when signature verdicts can be set (OPT_PENDING,OPT_READYorOPT_DECLINED).
-