|
|||||||||||
| 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.ReportElement
ReportElement provides facility for XML reporting.
| Constructor Summary | |
ReportElement(OperationalStatusMonitorValue pmValue,
OperationalStatusGenericModel model)
Creates a ReportElement with DataElement instances and operational
monitoring job information to include in the XML report. |
|
| Method Summary | |
long |
getCollectionTime()
Returns the time when the last data collection took place. |
java.lang.String |
getReportByEvent(boolean isInstant)
Gets the XML by event report associated to this object. |
java.lang.String |
getReportByFile(boolean isInstant,
java.net.URL url,
java.util.Date expirationDate)
Gets the XML by file report associated to this object. |
boolean |
setMonitoredObjects(javax.management.ObjectName[] objectNames)
Set the monitored objects (denoted by their object names) to observe and perform a collection process. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReportElement(OperationalStatusMonitorValue pmValue,
OperationalStatusGenericModel model)
ReportElement with DataElement instances and operational
monitoring job information to include in the XML report.
pmValue - the monitoring job described in the model - where data will be retreived.| Method Detail |
public long getCollectionTime()
public java.lang.String getReportByEvent(boolean isInstant)
isInstant - if true, all MonitoredObjectElement are included; otherwise
only the ones that had attribute changes.
public java.lang.String getReportByFile(boolean isInstant,
java.net.URL url,
java.util.Date expirationDate)
isInstant - if true, all MonitoredObjectElement are included; otherwise
only the ones that had attribute changes.url - URL location where measurements must be saved (must be a file).expirationDate - time from the save measurements are obsolate (null
means never delete).
public boolean setMonitoredObjects(javax.management.ObjectName[] objectNames)
objectNames - the object names (in String format) of the monitored
objects to observe.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||