com.sun.management.oss.impl.pm.opstatus
Class OperationalStatusDataEventImpl
java.lang.Object
com.sun.management.oss.impl.AttributeAccessImpl
com.sun.management.oss.impl.util.IRPEventImpl
com.sun.management.oss.impl.pm.opstatus.PmIRPEventImpl
com.sun.management.oss.impl.pm.opstatus.OperationalStatusDataEventImpl
- All Implemented Interfaces:
- AttributeAccess, java.lang.Cloneable, Event, IRPEvent, OperationalStatusDataEvent, java.io.Serializable, SerializerFactory
- public class OperationalStatusDataEventImpl
- extends PmIRPEventImpl
- implements OperationalStatusDataEvent
Title: JSR090 Reference Implementation
Description:
Copyright: Copyright 2001 Ericsson Radio Systems AB
Company: Ericsson
- Version:
- 0.2
- Author:
- Andreas Jirven, Anna Eriksson, Ali Feizabadi, Hooman Tahamtani, Katarina Wahlstr?m
- See Also:
- Serialized Form
Methods inherited from class com.sun.management.oss.impl.util.IRPEventImpl |
getApplicationDN, getEventTime, getManagedObjectClass, getManagedObjectInstance, getNotificationId, getSupportedOptionalAttributeNames, setApplicationDN, setEventTime, setManagedObjectClass, setManagedObjectInstance, setNotificationId |
Methods inherited from class com.sun.management.oss.impl.AttributeAccessImpl |
clone, getAllPopulatedAttributes, getAttributeNames, getAttributeValue, getAttributeValues, getPopulatedAttributeNames, isFullyPopulated, isPopulated, setAttributeValue, setAttributeValues, unpopulateAllAttributes, unpopulateAttribute |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.management.oss.AttributeAccess |
getAllPopulatedAttributes, getAttributeNames, getAttributeValue, getAttributeValues, getPopulatedAttributeNames, getSupportedOptionalAttributeNames, isFullyPopulated, isPopulated, setAttributeValue, setAttributeValues, unpopulateAllAttributes, unpopulateAttribute |
OperationalStatusDataEventImpl
public OperationalStatusDataEventImpl()
getOperationalStatusMonitorReport
public java.lang.Object getOperationalStatusMonitorReport()
throws java.lang.IllegalStateException
- Description copied from interface:
OperationalStatusDataEvent
- Gets the measurement report.
If the measurement result is in XML format a String object will be returned.
- Specified by:
getOperationalStatusMonitorReport
in interface OperationalStatusDataEvent
- Returns:
- Object The measurement result.
- Throws:
java.lang.IllegalStateException
- Is thrown if the attribute is supported,
and the attribute has not been populated.- See Also:
OperationalStatusDataEvent.setOperationalStatusMonitorReport(java.lang.Object)
getReportFormat
public ReportFormat getReportFormat()
throws java.lang.IllegalStateException
- Description copied from interface:
OperationalStatusDataEvent
- Gets the measurement report format.
- Specified by:
getReportFormat
in interface OperationalStatusDataEvent
- Returns:
- ReportFormat The measurement report format.
- Throws:
java.lang.IllegalStateException
- Is thrown if the attribute is supported,
and the attribute has not been populated.- See Also:
OperationalStatusDataEvent.setReportFormat(com.sun.management.oss.pm.opstatus.ReportFormat)
makeReportFormat
public ReportFormat makeReportFormat()
- Description copied from interface:
OperationalStatusDataEvent
- Creates a new instance of the
ReportFormat
interface.
- Specified by:
makeReportFormat
in interface OperationalStatusDataEvent
- Returns:
- ReportFormat The created object. The object is empty.
setOperationalStatusMonitorReport
public void setOperationalStatusMonitorReport(java.lang.Object report)
throws java.lang.IllegalArgumentException
- Description copied from interface:
OperationalStatusDataEvent
- Sets the measurement report.
If the measurement report is in XML format a String object will be provided.
- Specified by:
setOperationalStatusMonitorReport
in interface OperationalStatusDataEvent
- Parameters:
report
- The measurement report object.
- Throws:
java.lang.IllegalArgumentException
- Is thrown to report that
a bad argument was provided to the method.- See Also:
OperationalStatusDataEvent.getOperationalStatusMonitorReport()
setReportFormat
public void setReportFormat(ReportFormat format)
throws java.lang.IllegalArgumentException
- Description copied from interface:
OperationalStatusDataEvent
- Sets the report format of the measurement report.
The supporting report format can be retrieved by using the
OperationalStatusMonitorMethods.getReportFormats().
- Specified by:
setReportFormat
in interface OperationalStatusDataEvent
- Parameters:
format
- The report format of the measurement report.
- Throws:
java.lang.IllegalArgumentException
- Is thrown to report that
a bad argument was provided to the method.- See Also:
OperationalStatusDataEvent.getReportFormat()