Package com.amazonaws.services.elasticbeanstalk.model

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


      boolean bActiveEnvironment = (d.getStatus().equals("Running")
          || d.getStatus().equals("Launching") || d.getStatus().equals("Ready"));

      for (ListIterator<ApplicationVersionDescription> appVersionIterator = appVersionList
          .listIterator(); appVersionIterator.hasNext();) {
        ApplicationVersionDescription appVersion = appVersionIterator.next();

        boolean bMatchesVersion = appVersion.getVersionLabel().equals(
            d.getVersionLabel());

        if (bActiveEnvironment && bMatchesVersion) {
          getLog().info(
              "VersionLabel " + appVersion.getVersionLabel()
                  + " is bound to environment " + d.getEnvironmentName()
                  + " - Skipping it");

          appVersionIterator.remove();
        }
View Full Code Here


        });

    Collections.reverse(appVersionList);
   
    if (latestVersionInstead) {
      ApplicationVersionDescription latestVersionDescription = appVersionList
          .get(0);

      return changeToVersion(d, latestVersionDescription);
    }

    ListIterator<ApplicationVersionDescription> versionIterator = appVersionList
        .listIterator();

    String curVersionLabel = d.getVersionLabel();

    while (versionIterator.hasNext()) {
      ApplicationVersionDescription versionDescription = versionIterator.next();

      String versionLabel = versionDescription.getVersionLabel();

      if (curVersionLabel.equals(versionLabel) && versionIterator.hasNext()) {
        return changeToVersion(d, versionIterator.next());
      }
    }
View Full Code Here

          || d.getStatus().equals("Launching") || d.getStatus()
          .equals("Ready"));

      for (ListIterator<ApplicationVersionDescription> appVersionIterator = appVersionList
          .listIterator(); appVersionIterator.hasNext();) {
        ApplicationVersionDescription appVersion = appVersionIterator
            .next();

        boolean bMatchesVersion = appVersion.getVersionLabel().equals(
            d.getVersionLabel());

        if (bActiveEnvironment && bMatchesVersion) {
          getLog().info(
              "VersionLabel " + appVersion.getVersionLabel()
                  + " is bound to environment "
                  + d.getEnvironmentName() + " - Skipping it");

          appVersionIterator.remove();
        }
View Full Code Here

      ListIterator<ApplicationVersionDescription> versions = describeApplicationVersions
          .getApplicationVersions().listIterator();
     
      while (! found) {
        ApplicationVersionDescription curVer = versions.next();
       
        found = curVer.getVersionLabel().startsWith(gitVersionBase);
       
        if (found) {
          applicationVersionId = curVer.getVersionLabel();
        }
      }
    }

    getLog().info("Deployed version " + applicationVersionId);
View Full Code Here

        });

    Collections.reverse(appVersionList);
   
    if (latestVersionInstead) {
      ApplicationVersionDescription latestVersionDescription = appVersionList
          .get(0);

      return changeToVersion(d, latestVersionDescription);
    }

    ListIterator<ApplicationVersionDescription> versionIterator = appVersionList
        .listIterator();

    String curVersionLabel = d.getVersionLabel();

    while (versionIterator.hasNext()) {
      ApplicationVersionDescription versionDescription = versionIterator.next();

      String versionLabel = versionDescription.getVersionLabel();

      if (curVersionLabel.equals(versionLabel) && versionIterator.hasNext()) {
        return changeToVersion(d, versionIterator.next());
      }
    }
View Full Code Here

          || d.getStatus().equals("Launching") || d.getStatus()
          .equals("Ready"));

      for (ListIterator<ApplicationVersionDescription> appVersionIterator = appVersionList
          .listIterator(); appVersionIterator.hasNext();) {
        ApplicationVersionDescription appVersion = appVersionIterator
            .next();

        boolean bMatchesVersion = appVersion.getVersionLabel().equals(
            d.getVersionLabel());

        if (bActiveEnvironment && bMatchesVersion) {
          getLog().info(
              "VersionLabel " + appVersion.getVersionLabel()
                  + " is bound to environment "
                  + d.getEnvironmentName() + " - Skipping it");

          appVersionIterator.remove();
        }
View Full Code Here

        });

    Collections.reverse(appVersionList);
   
    if (latestVersionInstead) {
      ApplicationVersionDescription latestVersionDescription = appVersionList
          .get(0);

      return changeToVersion(d, latestVersionDescription);
    }

    ListIterator<ApplicationVersionDescription> versionIterator = appVersionList
        .listIterator();

    String curVersionLabel = d.getVersionLabel();

    while (versionIterator.hasNext()) {
      ApplicationVersionDescription versionDescription = versionIterator.next();

      String versionLabel = versionDescription.getVersionLabel();

      if (curVersionLabel.equals(versionLabel) && versionIterator.hasNext()) {
        return changeToVersion(d, versionIterator.next());
      }
    }
View Full Code Here

      boolean bActiveEnvironment = (d.getStatus().equals("Running")
          || d.getStatus().equals("Launching") || d.getStatus().equals("Ready"));

      for (ListIterator<ApplicationVersionDescription> appVersionIterator = appVersionList
          .listIterator(); appVersionIterator.hasNext();) {
        ApplicationVersionDescription appVersion = appVersionIterator.next();

        boolean bMatchesVersion = appVersion.getVersionLabel().equals(
            d.getVersionLabel());

        if (bActiveEnvironment && bMatchesVersion) {
          getLog().info(
              "VersionLabel " + appVersion.getVersionLabel()
                  + " is bound to environment " + d.getEnvironmentName()
                  + " - Skipping it");

          appVersionIterator.remove();
        }
View Full Code Here

        });

    Collections.reverse(appVersionList);
   
    if (latestVersionInstead) {
      ApplicationVersionDescription latestVersionDescription = appVersionList
          .get(0);

      return changeToVersion(d, latestVersionDescription);
    }

    ListIterator<ApplicationVersionDescription> versionIterator = appVersionList
        .listIterator();

    String curVersionLabel = d.getVersionLabel();

    while (versionIterator.hasNext()) {
      ApplicationVersionDescription versionDescription = versionIterator.next();

      String versionLabel = versionDescription.getVersionLabel();

      if (curVersionLabel.equals(versionLabel) && versionIterator.hasNext()) {
        return changeToVersion(d, versionIterator.next());
      }
    }
View Full Code Here

          || d.getStatus().equals("Launching") || d.getStatus()
          .equals("Ready"));

      for (ListIterator<ApplicationVersionDescription> appVersionIterator = appVersionList
          .listIterator(); appVersionIterator.hasNext();) {
        ApplicationVersionDescription appVersion = appVersionIterator
            .next();

        boolean bMatchesVersion = appVersion.getVersionLabel().equals(
            d.getVersionLabel());

        if (bActiveEnvironment && bMatchesVersion) {
          getLog().info(
              "VersionLabel " + appVersion.getVersionLabel()
                  + " is bound to environment "
                  + d.getEnvironmentName() + " - Skipping it");

          appVersionIterator.remove();
        }
View Full Code Here

TOP

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

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.