@Test public void testDefaultRedeploy() { Assertions.assertThatThrownBy(() -> buildExecutionManager.execute(BuildType.REDEPLOY, context)) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Cannot run REDEPLOY for module groupId:artifactId:version"); }
@Override public void execute(final BuildType buildType, final BuildExecutionContext context) { Map<BuildType, Executor> runners = context.getModule().getPom().getGav().isSnapshot() ? snapshotRunners : defaultRunners; execute(runners, buildType, context); }
BuildExecutionManagerImpl implements BuildExecutionManager { @Override public void execute(final BuildType buildType, final BuildExecutionContext context) { Map<BuildType, Executor> runners = context.getModule().getPom().getGav().isSnapshot() ? snapshotRunners : defaultRunners; execute(runners, buildType, context); } }
BuildExecutionManagerImpl implements BuildExecutionManager { @Override public void execute(final BuildType buildType, final BuildExecutionContext context) { Map<BuildType, Executor> runners = context.getModule().getPom().getGav().isSnapshot() ? snapshotRunners : defaultRunners; execute(runners, buildType, context); } BuildExecutionManagerImpl(); @Inject  BuildExecutionManagerImpl(final Caller<BuildService> buildServiceCaller,
                                     final Event<BuildResults> buildResultsEvent,
                                     final Event<NotificationEvent> notificationEvent,
                                     final BuildDialog buildDialog,
                                     final DeploymentPopup deploymentPopup,
                                     final Caller<SpecManagementService> specManagementService,
                                     final ConflictingRepositoriesPopup conflictingRepositoriesPopup,
                                     final SnapshotDeploymentSettings settings); }
BuildExecutionManagerImpl implements BuildExecutionManager { @Override public void execute(final BuildType buildType, final BuildExecutionContext context) { Map<BuildType, Executor> runners = context.getModule().getPom().getGav().isSnapshot() ? snapshotRunners : defaultRunners; execute(runners, buildType, context); } BuildExecutionManagerImpl(); @Inject  BuildExecutionManagerImpl(final Caller<BuildService> buildServiceCaller,
                                     final Event<BuildResults> buildResultsEvent,
                                     final Event<NotificationEvent> notificationEvent,
                                     final BuildDialog buildDialog,
                                     final DeploymentPopup deploymentPopup,
                                     final Caller<SpecManagementService> specManagementService,
                                     final ConflictingRepositoriesPopup conflictingRepositoriesPopup,
                                     final SnapshotDeploymentSettings settings); @Override void execute(final BuildType buildType, final BuildExecutionContext context); }
BuildExecutionManagerImpl implements BuildExecutionManager { @Override public void execute(final BuildType buildType, final BuildExecutionContext context) { Map<BuildType, Executor> runners = context.getModule().getPom().getGav().isSnapshot() ? snapshotRunners : defaultRunners; execute(runners, buildType, context); } BuildExecutionManagerImpl(); @Inject  BuildExecutionManagerImpl(final Caller<BuildService> buildServiceCaller,
                                     final Event<BuildResults> buildResultsEvent,
                                     final Event<NotificationEvent> notificationEvent,
                                     final BuildDialog buildDialog,
                                     final DeploymentPopup deploymentPopup,
                                     final Caller<SpecManagementService> specManagementService,
                                     final ConflictingRepositoriesPopup conflictingRepositoriesPopup,
                                     final SnapshotDeploymentSettings settings); @Override void execute(final BuildType buildType, final BuildExecutionContext context);  }