public class AffectedDeploymentOverlay extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
listAllLinks(OperationContext context,
String overlay)
Returns all the deployment runtime names associated with an overlay accross all server groups.
|
static Set<String> |
listDeployments(Resource deploymentRootResource,
Set<String> runtimeNames)
Returns the deployment names with the specified runtime names at the specified deploymentRootAddress.
|
static Set<String> |
listLinks(OperationContext context,
PathAddress overlayAddress)
Returns all the deployment runtime names associated with an overlay.
|
static void |
redeployDeployments(OperationContext context,
PathAddress deploymentsRootAddress,
Set<String> deploymentNames)
We are adding a redeploy operation step for each specified deployment runtime name.
|
static void |
redeployLinks(OperationContext context,
PathAddress deploymentsRootAddress,
Set<String> runtimeNames)
We are adding a redeploy operation step for each specified deployment runtime name.
|
static void |
redeployLinksAndTransformOperation(OperationContext context,
org.jboss.dmr.ModelNode removeOperation,
PathAddress deploymentsRootAddress,
Set<String> runtimeNames)
It will look for all the deployments under the deploymentsRootAddress with a runtimeName in the specified list of
runtime names and then transform the operation so that every server having those deployments will redeploy the
affected deployments.
|
static void |
redeployLinksAndTransformOperationForDomain(OperationContext context,
Set<String> runtimeNames,
org.jboss.dmr.ModelNode removeOperation)
It will look for all the deployments (in every server-group) with a runtimeName in the specified list of runtime
names and then transform the operation so that every server in those server groups will redeploy the affected
deployments.
|
public static Set<String> listAllLinks(OperationContext context, String overlay)
context - the current OperationContext.overlay - the name of the overlay.public static Set<String> listLinks(OperationContext context, PathAddress overlayAddress)
context - the current OperationContext.overlayAddress - the address for the averlay.public static void redeployLinks(OperationContext context, PathAddress deploymentsRootAddress, Set<String> runtimeNames) throws OperationFailedException
context - deploymentsRootAddress - runtimeNames - OperationFailedExceptionpublic static void redeployDeployments(OperationContext context, PathAddress deploymentsRootAddress, Set<String> deploymentNames) throws OperationFailedException
context - deploymentsRootAddress - deploymentNames - OperationFailedExceptionpublic static void redeployLinksAndTransformOperationForDomain(OperationContext context, Set<String> runtimeNames, org.jboss.dmr.ModelNode removeOperation) throws OperationFailedException
removeOperation - context - runtimeNames - OperationFailedException#transformOperationpublic static void redeployLinksAndTransformOperation(OperationContext context, org.jboss.dmr.ModelNode removeOperation, PathAddress deploymentsRootAddress, Set<String> runtimeNames) throws OperationFailedException
removeOperation - context - deploymentsRootAddress - runtimeNames - OperationFailedException#transformOperationpublic static Set<String> listDeployments(Resource deploymentRootResource, Set<String> runtimeNames)
deploymentRootResource - runtimeNames - Copyright © 2019 JBoss by Red Hat. All rights reserved.