Package br.com.ingenieux.mojo.beanstalk.cmd.env.terminate

Examples of br.com.ingenieux.mojo.beanstalk.cmd.env.terminate.TerminateEnvironmentContext


      getLog().info(
          format("Terminating environmentId=%s (attempt %d/%d)",
              environmentId, i, maxAttempts));

      try {
        TerminateEnvironmentContext terminatecontext = new TerminateEnvironmentContextBuilder()
            .withEnvironmentId(environmentId)
            .withTerminateResources(true).build();
        TerminateEnvironmentCommand command = new TerminateEnvironmentCommand(
            this);
View Full Code Here


  @Parameter(property="beanstalk.terminateResources", defaultValue="true")
  boolean terminateResources;

  @Override
  protected Object executeInternal() throws AbstractMojoExecutionException {
    TerminateEnvironmentContext context = TerminateEnvironmentContextBuilder
        .terminateEnvironmentContext().withEnvironmentId(curEnv.getEnvironmentId())
        .withEnvironmentName(curEnv.getEnvironmentName())
        .withTerminateResources(terminateResources).build();
    TerminateEnvironmentCommand command = new TerminateEnvironmentCommand(this);
View Full Code Here

  protected void terminateAndWaitForEnvironment(String environmentId)
      throws AbstractMojoExecutionException {
    {
      getLog().info("Terminating environmentId=" + environmentId);

      TerminateEnvironmentContext terminatecontext = new TerminateEnvironmentContextBuilder()
          .withEnvironmentId(environmentId)
          .withTerminateResources(true).build();
      TerminateEnvironmentCommand command = new TerminateEnvironmentCommand(
          this);
View Full Code Here

TOP

Related Classes of br.com.ingenieux.mojo.beanstalk.cmd.env.terminate.TerminateEnvironmentContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.