Package com.amazonaws.services.elasticbeanstalk.model

Examples of com.amazonaws.services.elasticbeanstalk.model.CreateEnvironmentResult


    // Disable parent lookup - We're CREATING, mind that!
  }
 
  @Override
  protected Object executeInternal() throws AbstractMojoExecutionException {
    CreateEnvironmentResult result = createEnvironment(cnamePrefix, this.environmentName);

    return result;
  }
View Full Code Here


    String newEnvironmentName = getNewEnvironmentName(this.environmentName);

    if (getLog().isInfoEnabled())
      getLog().info("And it'll be named " + newEnvironmentName);

    CreateEnvironmentResult createEnvResult = createEnvironment(
        cnamePrefixToCreate, newEnvironmentName);

    /*
     * Waits for completion
     */
    EnvironmentDescription newEnvDesc = null;

    try {
      newEnvDesc = waitForEnvironment(createEnvResult.getEnvironmentId());
    } catch (Exception exc) {
      /*
       * Terminates the failed launched environment
       */
      terminateEnvironment(createEnvResult.getEnvironmentId());

      handleException(exc);

      return null;
    }
View Full Code Here

    // Disable parent lookup - We're CREATING, mind that!
  }
 
  @Override
  protected Object executeInternal() throws AbstractMojoExecutionException {
    CreateEnvironmentResult result = createEnvironment(cnamePrefix, this.environmentName);

    return result;
  }
View Full Code Here

            curEnv.getEnvironmentName()));

    if (getLog().isInfoEnabled())
      getLog().info("And it'll be named " + newEnvironmentName);

    CreateEnvironmentResult createEnvResult = createEnvironment(
        cnamePrefixToCreate, newEnvironmentName);

    /*
     * Waits for completion
     */
    EnvironmentDescription newEnvDesc = null;

    try {
      newEnvDesc = waitForEnvironment(createEnvResult.getEnvironmentId());
    } catch (Exception exc) {
      /*
       * Terminates the failed launched environment
       */
      terminateEnvironment(createEnvResult.getEnvironmentId());

      handleException(exc);

      return null;
    }
View Full Code Here

    if (getLog().isInfoEnabled())
      getLog().info(
          "Creating a new environment on " + cnamePrefixToCreate
              + ".elasticbeanstalk.com");

    CreateEnvironmentResult createEnvResult = createEnvironment(cnamePrefixToCreate);

    /*
     * Waits for completion
     */
    EnvironmentDescription newEnvDesc = null;

    try {
      newEnvDesc = waitForEnvironment(createEnvResult.getEnvironmentId());
    } catch (Exception exc) {
      /*
       * Terminates the failed launched environment
       */
      terminateAndWaitForEnvironment(createEnvResult.getEnvironmentId());

      handleException(exc);

      return null;
    }
View Full Code Here

  String templateName;

  @Override
  protected Object executeInternal() throws MojoExecutionException,
      MojoFailureException {
    CreateEnvironmentResult result = createEnvironment(cnamePrefix);

    return result;
  }
View Full Code Here

    String newEnvironmentName = getNewEnvironmentName(this.environmentName);

    if (getLog().isInfoEnabled())
      getLog().info("And it'll be named " + newEnvironmentName);

    CreateEnvironmentResult createEnvResult = createEnvironment(
        cnamePrefixToCreate, newEnvironmentName);

    /*
     * Waits for completion
     */
    EnvironmentDescription newEnvDesc = null;

    try {
      newEnvDesc = waitForEnvironment(createEnvResult.getEnvironmentId());
    } catch (Exception exc) {
      /*
       * Terminates the failed launched environment
       */
      terminateAndWaitForEnvironment(createEnvResult.getEnvironmentId());

      handleException(exc);

      return null;
    }
View Full Code Here

    // Disable parent lookup - We're CREATING, mind that!
  }
 
  @Override
  protected Object executeInternal() throws AbstractMojoExecutionException {
    CreateEnvironmentResult result = createEnvironment(cnamePrefix, this.environmentName);

    return result;
  }
View Full Code Here

  String templateName;

  @Override
  protected Object executeInternal() throws MojoExecutionException,
      MojoFailureException {
    CreateEnvironmentResult result = createEnvironment(cnamePrefix);

    return result;
  }
View Full Code Here

    // Disable parent lookup - We're CREATING, mind that!
  }
 
  @Override
  protected Object executeInternal() throws AbstractMojoExecutionException {
    CreateEnvironmentResult result = createEnvironment(cnamePrefix, this.environmentName);

    return result;
  }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.elasticbeanstalk.model.CreateEnvironmentResult

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.