Package | Description |
---|---|
org.codice.ddf.configuration.migration | |
org.codice.ddf.migration |
Modifier and Type | Class and Description |
---|---|
class |
MigrationContextImpl<R extends MigrationReport>
The migration context base class keeps track of exported migration entries for a given migratable
while processing an import migration operation.
|
Modifier and Type | Class and Description |
---|---|
class |
ExportMigrationReportImpl
The export migration report provides additional functionality for tracking metadata required
during export.
|
class |
MigrationReportImpl
The migration report provides ways to aggregate warnings and errors related to migration
operations.
|
Modifier and Type | Field and Description |
---|---|
protected R |
MigrationContextImpl.report |
Modifier and Type | Method and Description |
---|---|
MigrationReport |
MigrationReportImpl.doAfterCompletion(Consumer<MigrationReport> code) |
MigrationReport |
ConfigurationMigrationService.doDecrypt(Path exportDirectory)
Decrypts an exported file from the specified path.
|
MigrationReport |
ConfigurationMigrationManager.doDecrypt(Path exportDirectory) |
MigrationReport |
ConfigurationMigrationService.doDecrypt(Path exportDirectory,
Consumer<MigrationMessage> consumer)
Decrypts an exported file from the specified path.
|
MigrationReport |
ConfigurationMigrationManager.doDecrypt(Path exportDirectory,
Consumer<MigrationMessage> consumer) |
MigrationReport |
ConfigurationMigrationService.doExport(Path exportDirectory)
Exports configurations to the specified path.
|
MigrationReport |
ConfigurationMigrationManager.doExport(Path exportDirectory) |
MigrationReport |
ConfigurationMigrationService.doExport(Path exportDirectory,
Consumer<MigrationMessage> consumer)
Exports configurations to the specified path.
|
MigrationReport |
ConfigurationMigrationManager.doExport(Path exportDirectory,
Consumer<MigrationMessage> consumer) |
MigrationReport |
ConfigurationMigrationService.doImport(Path exportDirectory)
Imports configurations from the specified path.
|
MigrationReport |
ConfigurationMigrationManager.doImport(Path exportDirectory) |
MigrationReport |
ConfigurationMigrationService.doImport(Path exportDirectory,
Consumer<MigrationMessage> consumer)
Imports configurations from the specified path.
|
MigrationReport |
ConfigurationMigrationManager.doImport(Path exportDirectory,
Consumer<MigrationMessage> consumer) |
MigrationReport |
ExportMigrationReportImpl.getReport() |
MigrationReport |
MigrationEntryImpl.getReport() |
MigrationReport |
ImportMigrationEntryImpl.getReport() |
MigrationReport |
DecryptMigrationManagerImpl.getReport() |
MigrationReport |
ImportMigrationManagerImpl.getReport() |
MigrationReport |
ExportMigrationManagerImpl.getReport() |
Modifier and Type | Method and Description |
---|---|
static boolean |
PathUtils.cleanQuietly(Path path,
MigrationReport report)
Quietly deletes the specified file or recursively cleans up the specified directory by removing
all empty sub-directories.
|
Modifier and Type | Method and Description |
---|---|
MigrationReport |
MigrationReportImpl.doAfterCompletion(Consumer<MigrationReport> code) |
ExportMigrationReportImpl |
ExportMigrationReportImpl.doAfterCompletion(Consumer<MigrationReport> code) |
Optional<ExportMigrationEntry> |
ExportMigrationEntryImpl.getPropertyReferencedEntry(String pname,
BiPredicate<MigrationReport,String> validator) |
Optional<ExportMigrationEntry> |
ExportMigrationContextImpl.getSystemPropertyReferencedEntry(String name,
BiPredicate<MigrationReport,String> validator) |
boolean |
ImportMigrationEntryImpl.restore(BiThrowingConsumer<MigrationReport,Optional<InputStream>,IOException> consumer) |
boolean |
ImportMigrationPropertyReferencedEntryImpl.restore(BiThrowingConsumer<MigrationReport,Optional<InputStream>,IOException> consumer) |
boolean |
ExportMigrationEntryImpl.store(BiThrowingConsumer<MigrationReport,OutputStream,IOException> consumer) |
Constructor and Description |
---|
DecryptMigrationManagerImpl(MigrationReport report,
MigrationZipFile zip,
Path decryptFile)
Creates a new migration manager for a decrypt operation.
|
ExportMigrationManagerImpl(MigrationReport report,
Path exportFile,
CipherUtils cipherUtils,
Stream<? extends Migratable> migratables)
Creates a new migration manager for an export operation.
|
ExportMigrationReportImpl(MigrationReport report,
Migratable migratable) |
ImportMigrationContextImpl(MigrationReport report,
MigrationZipFile zip)
Creates a new migration context for an import operation representing a system context.
|
ImportMigrationContextImpl(MigrationReport report,
MigrationZipFile zip,
Migratable migratable)
Creates a new migration context for an import operation.
|
ImportMigrationContextImpl(MigrationReport report,
MigrationZipFile zip,
String id)
Creates a new migration context for an import operation.
|
ImportMigrationManagerImpl(MigrationReport report,
MigrationZipFile zip,
Stream<? extends Migratable> migratables)
Creates a new migration manager for an import operation.
|
Modifier and Type | Method and Description |
---|---|
MigrationReport |
MigrationReport.doAfterCompletion(Consumer<MigrationReport> code)
Registers code to be invoked at the completion of the migration operation.
|
MigrationReport |
MigrationEntry.getReport()
Gets the migration report associated with this entry.
|
MigrationReport |
MigrationContext.getReport()
Retrieves the report associated with the current migration operation
|
MigrationReport |
MigrationReport.record(MigrationMessage msg)
Records a message that occurred during the migration report.
|
default MigrationReport |
MigrationReport.record(String msg)
Records an informational message that occurred during the migration report.
|
default MigrationReport |
MigrationReport.record(String format,
Object... args)
Records an informational message that occurred during the migration report.
|
Modifier and Type | Method and Description |
---|---|
MigrationReport |
MigrationReport.doAfterCompletion(Consumer<MigrationReport> code)
Registers code to be invoked at the completion of the migration operation.
|
Optional<ExportMigrationEntry> |
ExportMigrationEntry.getPropertyReferencedEntry(String name,
BiPredicate<MigrationReport,String> validator)
Creates or retrieves (if already created) a migration entry referenced from the specified
property in the properties file associated with this migration entry to be exported by the
corresponding migratable.
|
Optional<ExportMigrationEntry> |
ExportMigrationContext.getSystemPropertyReferencedEntry(String name,
BiPredicate<MigrationReport,String> validator)
Creates or retrieves (if already created) a migration entry referenced from the specified
system property to be exported by the corresponding migratable.
|
boolean |
ImportMigrationEntry.restore(BiThrowingConsumer<MigrationReport,Optional<InputStream>,IOException> consumer)
Restores this required entry's content appropriately based on this entry's path which can
include sub-directories using the specified consumer.
|
boolean |
ExportMigrationEntry.store(BiThrowingConsumer<MigrationReport,OutputStream,IOException> consumer)
Stores this entry's content in the export using the specified consumer based on this entry's
path which can include sub-directories.
|
This work is licensed under a Creative Commons Attribution 4.0 International License.