public class UpgradeStartAction extends AbstractAction
Action preparing upgrage logic and adds ReleaseAnalysisReport
and cutoff time to a context.| Constructor and Description |
|---|
UpgradeStartAction(ReleaseReportService releaseReportService,
ReleaseService releaseService)
Instantiates a new upgrade start 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). |
executepublic UpgradeStartAction(ReleaseReportService releaseReportService, ReleaseService releaseService)
releaseReportService - the release report servicereleaseService - the release serviceprotected void executeInternal(org.springframework.statemachine.StateContext<SkipperStateMachineService.SkipperStates,SkipperStateMachineService.SkipperEvents> context)
AbstractActionAction.execute(StateContext). This
execution is wrapped in try/catch and possible error added to an extended
state.executeInternal in class AbstractActioncontext - the contextCopyright © 2018 Pivotal Software, Inc.. All rights reserved.