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

Examples of br.com.ingenieux.mojo.beanstalk.cmd.env.waitfor.WaitForEnvironmentContext


            command.execute(context);
        }

        {
            WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
                    .withApplicationName(applicationName)//
                    .withStatusToWaitFor("Ready")//
                    .withEnvironmentRef(newEnvironmentId)//
                    .withTimeoutMins(timeoutMins)//
                    .build();
View Full Code Here


            throws AbstractMojoExecutionException {
        getLog().info(
                "Waiting for environmentId " + environmentId
                        + " to get into Ready state");

        WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
                .withApplicationName(applicationName)
                .withStatusToWaitFor("Ready").withEnvironmentRef(environmentId)
                .withHealth("Green")
                .withTimeoutMins(timeoutMins).build();
View Full Code Here

      command.execute(context);
    }

    {
      WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
          .withApplicationName(applicationName)//
          .withStatusToWaitFor("Ready")//
          .withEnvironmentId(newEnvironmentId)//
          .withTimeoutMins(timeoutMins)//
          .withDomainToWaitFor(cnamePrefix).build();
View Full Code Here

      throws AbstractMojoExecutionException {
    getLog().info(
        "Waiting for environmentId " + environmentId
            + " to get into Ready state");

    WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
        .withApplicationName(applicationName)
        .withStatusToWaitFor("Ready").withEnvironmentId(environmentId)
        .withTimeoutMins(timeoutMins).build();

    WaitForEnvironmentCommand command = new WaitForEnvironmentCommand(this);
View Full Code Here

  @Parameter(property="beanstalk.cnamePrefix", defaultValue="${project.artifactId}")
  String cnamePrefix;

  @Override
  protected Object executeInternal() throws Exception {
    WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
        .withApplicationName(applicationName)//
        .withStatusToWaitFor(statusToWaitFor)//
        .withDomainToWaitFor(cnamePrefix)//
        .withTimeoutMins(timeoutMins)
        .build();
View Full Code Here

  }

  protected void waitForNotUpdating()
      throws AbstractMojoExecutionException, MojoFailureException,
      MojoExecutionException {
        WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
            .withApplicationName(applicationName)//
            .withStatusToWaitFor("!Updating")//
            .withEnvironmentId(curEnv.getEnvironmentId())//
            .withTimeoutMins(2)//
            .withDomainToWaitFor(cnamePrefix).build();
View Full Code Here

      command.execute(context);
    }

    {
      WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
          .withApplicationName(applicationName)//
          .withStatusToWaitFor("Ready")//
          .withEnvironmentId(newEnvironmentId)//
          .withTimeoutMins(timeoutMins)//
          .withDomainToWaitFor(cnamePrefix).build();
View Full Code Here

      throws AbstractMojoExecutionException {
    getLog().info(
        "Waiting for environmentId " + environmentId
            + " to get into Ready state");

    WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
        .withApplicationName(applicationName)
        .withStatusToWaitFor("Ready").withEnvironmentId(environmentId)
        .withTimeoutMins(timeoutMins).build();

    WaitForEnvironmentCommand command = new WaitForEnvironmentCommand(this);
View Full Code Here

      command.execute(context);
    }

    {
      WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
          .withApplicationName(applicationName)//
          .withStatusToWaitFor("Ready")//
          .withEnvironmentId(newEnvironmentId)//
          .withTimeoutMins(timeoutMins)//
          .withDomainToWaitFor(cnamePrefix).build();
View Full Code Here

      command.execute(terminatecontext);
    }

    {
      WaitForEnvironmentContext context = new WaitForEnvironmentContextBuilder()
          .withApplicationName(applicationName)
          .withEnvironmentId(environmentId).withStatusToWaitFor("Terminated")
          .withTimeoutMins(timeoutMins).build();

      WaitForEnvironmentCommand command = new WaitForEnvironmentCommand(this);
View Full Code Here

TOP

Related Classes of br.com.ingenieux.mojo.beanstalk.cmd.env.waitfor.WaitForEnvironmentContext

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.