Search in sources :

Example 1 with SnapshotInstallExecutor

use of org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.install.SnapshotInstallExecutor in project kie-wb-common by kiegroup.

the class BuildExecutionManagerImpl method init.

@PostConstruct
protected void init() {
    defaultRunners = new HashMap<>();
    defaultRunners.put(BuildType.BUILD, new BuildExecutor(buildServiceCaller, buildResultsEvent, notificationEvent, buildDialog, new DefaultContextValidator()));
    defaultRunners.put(BuildType.DEPLOY, new ProductionBuildAndDeployExecutor(buildServiceCaller, buildResultsEvent, notificationEvent, buildDialog, deploymentPopup, specManagementService, conflictingRepositoriesPopup));
    defaultRunners.put(BuildType.INSTALL, new ProductionInstallExecutor(buildServiceCaller, buildResultsEvent, notificationEvent, buildDialog, conflictingRepositoriesPopup));
    settings.load();
    snapshotRunners = new HashMap<>();
    snapshotRunners.put(BuildType.BUILD, new BuildExecutor(buildServiceCaller, buildResultsEvent, notificationEvent, buildDialog, new SnapshotContextValidator()));
    snapshotRunners.put(BuildType.DEPLOY, new SnapshotBuildAndDeployExecutor(buildServiceCaller, buildResultsEvent, notificationEvent, buildDialog, deploymentPopup, specManagementService, settings));
    snapshotRunners.put(BuildType.INSTALL, new SnapshotInstallExecutor(buildServiceCaller, buildResultsEvent, notificationEvent, buildDialog));
    snapshotRunners.put(BuildType.REDEPLOY, new SnapshotRedeployExecutor(buildServiceCaller, buildResultsEvent, notificationEvent, buildDialog, deploymentPopup, specManagementService, settings));
}
Also used : ProductionBuildAndDeployExecutor(org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.deploy.ProductionBuildAndDeployExecutor) SnapshotContextValidator(org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.validators.SnapshotContextValidator) SnapshotBuildAndDeployExecutor(org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.deploy.SnapshotBuildAndDeployExecutor) ProductionInstallExecutor(org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.install.ProductionInstallExecutor) DefaultContextValidator(org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.validators.DefaultContextValidator) BuildExecutor(org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.build.BuildExecutor) SnapshotInstallExecutor(org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.install.SnapshotInstallExecutor) SnapshotRedeployExecutor(org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.redeploy.SnapshotRedeployExecutor) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 BuildExecutor (org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.build.BuildExecutor)1 ProductionBuildAndDeployExecutor (org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.deploy.ProductionBuildAndDeployExecutor)1 SnapshotBuildAndDeployExecutor (org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.deploy.SnapshotBuildAndDeployExecutor)1 ProductionInstallExecutor (org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.install.ProductionInstallExecutor)1 SnapshotInstallExecutor (org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.install.SnapshotInstallExecutor)1 SnapshotRedeployExecutor (org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.redeploy.SnapshotRedeployExecutor)1 DefaultContextValidator (org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.validators.DefaultContextValidator)1 SnapshotContextValidator (org.kie.workbench.common.screens.projecteditor.client.build.exec.impl.executors.validators.SnapshotContextValidator)1