Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Method

StateChangeResult.NO_ERROR
StateChangeResult.FAILED
DeployStateLockStateDeployStateLockState
undeployUNDEPLOYEDnullDEPLOYEDnull
deployDEPLOYEDnullUNDEPLOYEDnull
locknullLOCKEDnullUNLOCKED
unlocknullUNLOCKEDnullLOCKED
deleteDELETEDnullUNDEPLOYEDnull
updateDEPLOYEDnullDEPLOYEDnull
migrateDEPLOYEDnullDEPLOYEDnull

handleRestartInstance
DEPLOYED/UNLOCK

DEPLOYEDUNLOCK

handleRestartInstance
DEPLOYED/LOCK

DEPLOYEDLOCK

handleRestartInstance
DEPLOYING

DEPLOYEDnullUNDEPLOYEDnull

handleRestartInstance
UNDEPLOYING

UNDEPLOYEDnullDEPLOYEDnull

handleRestartInstance
UPDATING

DEPLOYEDnullDEPLOYEDnull

handleRestartInstance
DELETING

DELETEDnullUNDEPLOYEDnull

handleRestartInstance
LOCKING

nullLOCKEDnullUNLOCKED

handleRestartInstance
UNLOCKING

nullUNLOCKEDnullLOCKED

Suggestions
Delete, updeploy and update could be considerate idempotent actions (It depend from the context). As example in a deleting or updating query (if they doesn't contain non-deterministic functional call) are idempotents.


The table show the the allowed values using the "updateCompositionState" method.

...