use of com.creditease.uav.feature.upgrade.action.uav.StopUAVProcessAction in project uavstack by uavorg.
the class UpgradeAgent method registerActionsAccordingUpgradeTarget.
@SuppressWarnings("unused")
private void registerActionsAccordingUpgradeTarget() {
if (this.upgradeContext.isUAVContext()) {
StopUAVProcessAction stopAction = new StopUAVProcessAction(this.feature, this.upgradeContext, engine);
OverrideFileAction overrideFileAction = new UAVOverrideFileAction(this.feature, this.upgradeContext, engine);
StartUAVProcessAction startAction = new StartUAVProcessAction(this.feature, this.upgradeContext, engine);
} else {
OverrideFileAction overrideFileAction = new ThirdpartySoftwareOverrideFileAction(this.feature, this.upgradeContext, engine);
}
}
Aggregations