public final class DeploymentUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<ResourceRoot> |
allResourceRoots(DeploymentUnit deploymentUnit)
Get all resource roots for a
DeploymentUnit |
static List<byte[]> |
getDeploymentHash(org.jboss.dmr.ModelNode deployment) |
static List<byte[]> |
getDeploymentHash(Resource deployment) |
static DeploymentUnit |
getTopDeploymentUnit(DeploymentUnit unit)
Get top deployment unit.
|
public static List<ResourceRoot> allResourceRoots(DeploymentUnit deploymentUnit)
DeploymentUnit
deploymentUnit
- The deployment unitpublic static DeploymentUnit getTopDeploymentUnit(DeploymentUnit unit)
unit
- the current deployment unitpublic static List<byte[]> getDeploymentHash(org.jboss.dmr.ModelNode deployment)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.