Package org.jboss.hal.core.deployment
Class DeploymentResource
- java.lang.Object
-
- org.jboss.hal.dmr.ModelNode
-
- org.jboss.hal.dmr.NamedNode
-
- org.jboss.hal.core.deployment.DeploymentResource
-
- All Implemented Interfaces:
Cloneable,NamedObject
public class DeploymentResource extends NamedNode
Model node for resources under/deployment=foo/subsystem=*resp./deployment=foo/subdeployment=bar/subsystem=*
-
-
Constructor Summary
Constructors Constructor Description DeploymentResource(String name, ResourceAddress address, ModelNode modelNode)DeploymentResource(ResourceAddress address, ModelNode modelNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceAddressgetAddress()StringgetDeployment()StringgetPath()Returnsdeployment/subdeploymentifsubdeployment != null,deploymentotherwise.StringgetSubdeployment()-
Methods inherited from class org.jboss.hal.dmr.NamedNode
asModelNode, equals, getName, hashCode, setName, toString, update
-
Methods inherited from class org.jboss.hal.dmr.ModelNode
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addEmptyList, addEmptyObject, addExpression, as, asBigDecimal, asBigInteger, asBoolean, asBoolean, asBytes, asDouble, asDouble, asInt, asInt, asList, asLong, asLong, asObject, asProperty, asPropertyList, asString, asType, clear, clone, equals, fromBase64, get, get, get, getFailureDescription, getType, has, has, hasDefined, hasDefined, isDefined, isFailure, keys, protect, remove, require, require, resolve, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setEmptyList, setEmptyObject, setExpression, setExpression, toBase64String, toJSONString, toJSONString, writeExternal
-
-
-
-
Constructor Detail
-
DeploymentResource
public DeploymentResource(ResourceAddress address, ModelNode modelNode)
-
DeploymentResource
public DeploymentResource(String name, ResourceAddress address, ModelNode modelNode)
-
-
Method Detail
-
getAddress
public ResourceAddress getAddress()
-
getDeployment
public String getDeployment()
-
getSubdeployment
public String getSubdeployment()
-
getPath
public String getPath()
Returnsdeployment/subdeploymentifsubdeployment != null,deploymentotherwise. Should not be used to build DMR operations, but rather in the UI.
-
-