public interface MigrationService
| Modifier and Type | Method and Description |
|---|---|
void |
add(ExportInfo info)
Adds the specified ExportInfo to the set of ExportInfos managed by this MigrationService.
|
List<ExportInfo> |
getAvailableExportInfos()
Retrieves a list of available ExportInfo, i.e.
|
ExportInfo |
getExportInfo(long exportTime)
Retrieves the ExportInfo associated with the specified export time.
|
ConsumerStructureProvider |
getStructureProvider()
Accesses the ConsumerStructureProvider this MigrationService uses.
|
boolean |
isAvailableExportInfosEmpty()
Whether there are any available ExportInfos.
|
ExportInfo |
remove(ExportInfo info)
Removes the specified ExportInfo from the ones managed by this MigrationService.
|
void |
setStructureProvider(ConsumerStructureProvider structureProvider)
Provides a way to wire in a ConsumerStructureProvider.
|
ConsumerStructureProvider getStructureProvider()
void setStructureProvider(ConsumerStructureProvider structureProvider)
structureProvider - the ConsumerStructureProvider this MigrationService should be usingList<ExportInfo> getAvailableExportInfos()
ExportInfo getExportInfo(long exportTime)
exportTime - the export time of the ExportInfo we want to retrievenull if no such ExportInfo existsvoid add(ExportInfo info)
info - the ExportInfo to addExportInfo remove(ExportInfo info)
info - the ExportInfo to removenull if the given ExportInfo wasn't managed by this MigrationServiceboolean isAvailableExportInfosEmpty()
true if this MigrationService manages some ExportInfo, false otherwiseCopyright © 2006-2014 GateIn. All Rights Reserved.