|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.datapower.wamt.amp.DomainStatus
public class DomainStatus
A container to hold the multiple objects returned from
Commands.getDomainStatus(DeviceContext, String)
.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2009_2012
|
static DomainStatus |
UNKNOWN_DOMAIN_STATUS
|
Constructor Summary | |
---|---|
DomainStatus(AdminStatus adminState,
OperationStatus operationStatus,
boolean needsSave,
boolean debugState,
QuiesceStatus quiesceStatus)
|
|
DomainStatus(OperationStatus operationStatus,
boolean needsSave,
boolean debugState,
QuiesceStatus quiesceStatus)
Create an instance of the DomainStatus. |
Method Summary | |
---|---|
AdminStatus |
getAdminStatus()
Get the admin state of domain, enabled (AdminState.ENABLED) or disabled (AdminState.DISABLED). |
boolean |
getDebugState()
Get a boolean value which indicates if this domain has debug or troubleshooting enabled. |
boolean |
getNeedsSave()
Get a boolean value which indicates if this domain has been modified but not saved to flash. |
OperationStatus |
getOperationStatus()
Get the operation status of this domain as it had been previously fetched by Commands.getDomainStatus(DeviceContext, String) . |
QuiesceStatus |
getQuiesceStatus()
Get the quiesce status of this domain as it had been previously fetched by Commands.getDomainStatus(DeviceContext, String) . |
void |
setStatus(DomainStatus newStatus)
Update the domain status |
java.lang.String |
toString()
Get a String representation of this object for the purpose of debugging or tracing. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT_2009_2012
public static final DomainStatus UNKNOWN_DOMAIN_STATUS
Constructor Detail |
---|
public DomainStatus(OperationStatus operationStatus, boolean needsSave, boolean debugState, QuiesceStatus quiesceStatus)
Commands.getDomainStatus(DeviceContext, String)
.
operationStatus
- the operation status of the domainneedsSave
- true if the domain has been modified but not saved to
flash, false otherwisedebugState
- true if the domain has debugging/troubleshooting
enabled, false otherwisepublic DomainStatus(AdminStatus adminState, OperationStatus operationStatus, boolean needsSave, boolean debugState, QuiesceStatus quiesceStatus)
Method Detail |
---|
public AdminStatus getAdminStatus()
public OperationStatus getOperationStatus()
Commands.getDomainStatus(DeviceContext, String)
.
public QuiesceStatus getQuiesceStatus()
Commands.getDomainStatus(DeviceContext, String)
.
public boolean getNeedsSave()
public boolean getDebugState()
public void setStatus(DomainStatus newStatus)
newStatus
- new domain statuspublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |