public class UpgradeCancelAction extends AbstractAction
Action
Constructor and Description |
---|
UpgradeCancelAction(UpgradeStrategy upgradeStrategy)
Instantiates a new upgrade cancel action.
|
Modifier and Type | Method and Description |
---|---|
protected void |
executeInternal(org.springframework.statemachine.StateContext<SkipperStateMachineService.SkipperStates,SkipperStateMachineService.SkipperEvents> context)
Internal execution similar to
Action.execute(StateContext) . |
execute
public UpgradeCancelAction(UpgradeStrategy upgradeStrategy)
upgradeStrategy
- the upgrade strategyprotected void executeInternal(org.springframework.statemachine.StateContext<SkipperStateMachineService.SkipperStates,SkipperStateMachineService.SkipperEvents> context)
AbstractAction
Action.execute(StateContext)
. This
execution is wrapped in try/catch and possible error added to an extended
state.executeInternal
in class AbstractAction
context
- the contextCopyright © 2018 Pivotal Software, Inc.. All rights reserved.