Examples of WaitForEnvironmentContext


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

      throws MojoFailureException, MojoExecutionException {
    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

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

   */
  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

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

      command.execute(context);
    }

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

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

      command.execute(terminatecontext);
    }

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

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

      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

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

   */
  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

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

  }

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

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

    CreateEnvironmentCommand command = new CreateEnvironmentCommand(this);

    CreateEnvironmentResult result = command.execute(context);
   
    if (waitForReady) {
      WaitForEnvironmentContext ctx = new WaitForEnvironmentContextBuilder()//
          .withEnvironmentRef(result.getEnvironmentId())//
          .withApplicationName(result.getApplicationName())//
          .withHealth("Green")//
          .withStatusToWaitFor("Ready")//
          .build();
View Full Code Here

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

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

      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
TOP
Copyright © 2018 www.massapi.com. 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.