Package org.jboss.hal.core.deployment
Class Deployment
- java.lang.Object
-
- org.jboss.hal.dmr.ModelNode
-
- org.jboss.hal.dmr.NamedNode
-
- org.jboss.hal.core.deployment.Content
-
- org.jboss.hal.core.deployment.Deployment
-
- All Implemented Interfaces:
Cloneable,NamedObject
public class Deployment extends Content
A deployment on a specific server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeployment.Status
-
Constructor Summary
Constructors Constructor Description Deployment(Server referenceServer, ModelNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Determine whether this object is equal to another.StringgetDisabledTime()StringgetEnabledTime()ServergetReferenceServer()Deployment.StatusgetStatus()List<Subdeployment>getSubdeployments()inthashCode()Get the hash code of this node object.booleanhasNestedSubsystem(String name)booleanhasSubdeployments()booleanhasSubsystem(String name)booleanisStandalone()StringtoString()Get a human-readable string representation of this model node, formatted nicely (possibly on multiple lines).-
Methods inherited from class org.jboss.hal.core.deployment.Content
addDeployment, getRuntimeName, getServerGroupDeployments, isDeployedTo, isEnabled, isExploded, isManaged
-
Methods inherited from class org.jboss.hal.dmr.NamedNode
asModelNode, getName, setName, 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
-
-
-
-
Method Detail
-
equals
public boolean equals(Object o)
Description copied from class:ModelNodeDetermine whether this object is equal to another.
-
hashCode
public int hashCode()
Description copied from class:ModelNodeGet the hash code of this node object. Note that unless the value isModelNode.protect()ed, the hash code may change over time, thus making unprotected nodes unsuitable for use as hash table keys.
-
toString
public String toString()
Description copied from class:ModelNodeGet a human-readable string representation of this model node, formatted nicely (possibly on multiple lines).
-
isStandalone
public boolean isStandalone()
-
getReferenceServer
public Server getReferenceServer()
-
getStatus
public Deployment.Status getStatus()
-
getEnabledTime
public String getEnabledTime()
-
getDisabledTime
public String getDisabledTime()
-
hasSubdeployments
public boolean hasSubdeployments()
-
getSubdeployments
public List<Subdeployment> getSubdeployments()
-
hasSubsystem
public boolean hasSubsystem(String name)
-
hasNestedSubsystem
public boolean hasNestedSubsystem(String name)
-
-