public class MetricTemplateExporter extends Object implements Exporter<org.rhq.core.domain.measurement.MeasurementDefinition,org.rhq.core.domain.sync.entity.MetricTemplate>
| Constructor and Description |
|---|
MetricTemplateExporter(org.rhq.core.domain.auth.Subject subject,
MeasurementDefinitionManagerLocal measurementDefinitionManager) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public MetricTemplateExporter(org.rhq.core.domain.auth.Subject subject,
MeasurementDefinitionManagerLocal measurementDefinitionManager)
public ExportingIterator<org.rhq.core.domain.sync.entity.MetricTemplate> getExportingIterator()
Exporter
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().
getExportingIterator in interface Exporter<org.rhq.core.domain.measurement.MeasurementDefinition,org.rhq.core.domain.sync.entity.MetricTemplate>public String getNotes()
Exporter
This method is only called after the export iterator
reached the end.
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.