public abstract class AbstractUpgradeStartAction extends AbstractAction
Actions wanting some shared functionality.| Constructor and Description |
|---|
AbstractUpgradeStartAction(ReleaseReportService releaseReportService)
Instantiates a new abstract 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). |
protected ReleaseAnalysisReport |
getReleaseAnalysisReport(org.springframework.statemachine.StateContext<SkipperStateMachineService.SkipperStates,SkipperStateMachineService.SkipperEvents> context) |
protected ReleaseReportService |
getReleaseReportService() |
protected boolean |
handlesInitialReport() |
executepublic AbstractUpgradeStartAction(ReleaseReportService releaseReportService)
releaseReportService - the release report 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 contextprotected ReleaseAnalysisReport getReleaseAnalysisReport(org.springframework.statemachine.StateContext<SkipperStateMachineService.SkipperStates,SkipperStateMachineService.SkipperEvents> context)
protected boolean handlesInitialReport()
protected ReleaseReportService getReleaseReportService()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.