JBoss AS7 Deployment Plugin 7.9.Final

org.jboss.as.plugin.common
Class DeploymentInspector

java.lang.Object
  extended by org.jboss.as.plugin.common.DeploymentInspector

public class DeploymentInspector
extends Object

Utility to lookup up Deployments.

Author:
Mark Paluch

Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 -
exactComparisonName - Name for exact matching.
matchPattern - Regex-Pattern for deployment matching.
Returns:
the name of the deployment or null.

JBoss AS7 Deployment Plugin 7.9.Final

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.