org.rhq.enterprise.server.sync.exporters
Class MetricTemplateExporter
java.lang.Object
org.rhq.enterprise.server.sync.exporters.MetricTemplateExporter
- All Implemented Interfaces:
- Exporter<org.rhq.core.domain.measurement.MeasurementDefinition,org.rhq.core.domain.sync.entity.MetricTemplate>
public class MetricTemplateExporter
- extends Object
- implements Exporter<org.rhq.core.domain.measurement.MeasurementDefinition,org.rhq.core.domain.sync.entity.MetricTemplate>
- Author:
- Lukas Krejci
|
Method Summary |
ExportingIterator<org.rhq.core.domain.sync.entity.MetricTemplate> |
getExportingIterator()
Creates an iterator that is able to traverse the exported data and serialize them
one by one. |
String |
getNotes()
This method can return some notes that the exporter gathered during exporting the
entities that are not specific to the individual entities. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricTemplateExporter
public MetricTemplateExporter(org.rhq.core.domain.auth.Subject subject,
MeasurementDefinitionManagerLocal measurementDefinitionManager)
getExportingIterator
public ExportingIterator<org.rhq.core.domain.sync.entity.MetricTemplate> getExportingIterator()
- Description copied from interface:
Exporter
- Creates an iterator that is able to traverse the exported data and serialize them
one by one.
The implementation is free to preload the exported entities or to somehow load them
one by one as the callers request by calling Iterator.next().
- Specified by:
getExportingIterator in interface Exporter<org.rhq.core.domain.measurement.MeasurementDefinition,org.rhq.core.domain.sync.entity.MetricTemplate>
- Returns:
getNotes
public String getNotes()
- Description copied from interface:
Exporter
- This method can return some notes that the exporter gathered during exporting the
entities that are not specific to the individual entities.
This method is only called after the export iterator
reached the end.
- Specified by:
getNotes in interface Exporter<org.rhq.core.domain.measurement.MeasurementDefinition,org.rhq.core.domain.sync.entity.MetricTemplate>
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.