Class DeploymentInspector
java.lang.Object
ru.cg.webbpm.studio.subsystems.deploy.appserver.impl.common.DeploymentInspector
Utility to lookup up Deployments.
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptiongetDeployments
(org.jboss.as.controller.client.ModelControllerClient client, String exactComparisonName, String matchPattern) Lookup an existing Deployment using a static name or a pattern.
-
Method Details
-
getDeployments
public static List<String> getDeployments(org.jboss.as.controller.client.ModelControllerClient client, String exactComparisonName, String matchPattern) Lookup an existing Deployment using a static name or a pattern. At least exactComparisonName or deploymentNamePattern must be set.- Parameters:
client
- the client used to execute operationsexactComparisonName
- Name for exact matching.matchPattern
- Regex-Pattern for deployment matching.- Returns:
- the name of the deployment or null.
-