|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.oss.impl.job.opstatus.MonitoredObjectElement
MonitoredObjectElement
defines common features that a monitored
element must provide.
Constructor Summary | |
MonitoredObjectElement()
|
Method Summary | |
java.lang.String |
getException()
Returns the exception of this message (may be null). |
boolean |
hasException()
Returns true if this instance got an exception; false otherwise. |
void |
setException(java.lang.String msg)
Sets the exception field of this object. |
abstract java.lang.String |
toXml()
Returns a XML representation of a monitored object element instance that implements the method. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MonitoredObjectElement()
Method Detail |
public java.lang.String getException()
public boolean hasException()
An exception is set if an issue occured while retreiving information from the instrumentation layer.
public void setException(java.lang.String msg)
An exception is set if an issue occured while retreiving information from the instrumentation layer.
msg
- the exception message.public abstract java.lang.String toXml()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |