public static Operation createRedeployOperation(final Set<DeploymentDescription> deployments) {
        Assertions.requiresNotNullOrNotEmptyParameter("deployments", deployments);
        final CompositeOperationBuilder builder = CompositeOperationBuilder.create(true);
        for (DeploymentDescription deployment : deployments) {
            addRedeployOperationStep(builder, deployment);
        }
        return builder.build();
    }
public static Operation createRedeployOperation ( final Set < DeploymentDescription > deployments ) { Assertions . requiresNotNullOrNotEmptyParameter ( "deployments" , deployments ) ; final CompositeOperationBuilder builder = CompositeOperationBuilder . create ( true ) ; for ( DeploymentDescription deployment : deployments ) { addRedeployOperationStep ( builder , deployment ) ; } return builder . build ( ) ; }
Creates a redeploy operation for the deployment.
<p>
Note this does not upload new content. To add new content and deploy the new content see
{@link #createReplaceOperation(Set)}.
</p>

@param deployments the set of deployments to redeploy

@return the redeploy operation