Package com.cloudbees.api

Examples of com.cloudbees.api.ApplicationInfo


            System.out.println("Blue-Green settings for: " + getName());
            System.out.println("  Primary Aliases: " + blueGreenSettings.getActiveAliasesString());
            System.out.println("  Application 1  : " + blueGreenSettings.getApplication1());
            System.out.println("  Application 2  : " + blueGreenSettings.getApplication2());
            // Get the app1 alias
            ApplicationInfo applicationInfo = client.applicationInfo(blueGreenSettings.getApplication1());
            String aliases = applicationInfo.getSettings().get("aliases");
            ApplicationAlias application1 = new ApplicationAlias(getAccount(), blueGreenSettings.getApplication1(), aliases);

            // If the app1 has the alias already, it is the active one
            if (application1.containAliases(blueGreenSettings.getActiveAliases())) {
                applicationIds.add(blueGreenSettings.getApplication1());
View Full Code Here

TOP

Related Classes of com.cloudbees.api.ApplicationInfo

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.