Package org.jboss.as.standalone.client.api.deployment

Examples of org.jboss.as.standalone.client.api.deployment.ServerDeploymentActionResult


        private void generateResult(Status status) {

            Map<UUID, ServerDeploymentActionResult> planResults = new HashMap<UUID, ServerDeploymentActionResult>();
            for (Map.Entry<UUID, ServerDeploymentActionResult> entry : updateResults.entrySet()) {
                ServerDeploymentActionResult actionResult = entry.getValue();
                if (actionResult == null) {
                    // Treat as success
                    actionResult = new SimpleServerDeploymentActionResult(entry.getKey(), Result.EXECUTED);
                }
                if (actionResult.getResult() != Result.NOT_EXECUTED) {
                    ServerDeploymentActionResult rollbackResult = null;
                    if (successfulRollbacks.contains(entry.getKey())) {
                        rollbackResult = new SimpleServerDeploymentActionResult(entry.getKey(), Result.EXECUTED);
                    }
                    else if (failedRollbacks.containsKey(entry.getKey())) {
                        Throwable cause = failedRollbacks.get(entry.getKey());
View Full Code Here

TOP

Related Classes of org.jboss.as.standalone.client.api.deployment.ServerDeploymentActionResult

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.