public interface MigrationEntry extends Comparable<MigrationEntry>
MigrationEntry
interface provides support for artifacts that are being exported
or imported during migration.
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the identifier for the
Migratable service responsible for this entry. |
long |
getLastModifiedTime()
Gets the last modification time of the entry.
|
String |
getName()
Gets name for this entry.
|
Path |
getPath()
Gets a
Path for this entry. |
MigrationReport |
getReport()
Gets the migration report associated with this entry.
|
boolean |
isDirectory()
Tests whether this entry represents a directory.
|
boolean |
isFile()
Tests whether this entry represents a file.
|
compareTo
MigrationReport getReport()
String getId()
Migratable
service responsible for this entry.String getName()
Path getPath()
Path
for this entry.
Note: Absolute paths that are under ${ddf.home} are automatically relativized.
boolean isDirectory()
true
if and only if the entry represents a directory; false
otherwiseboolean isFile()
true
if and only if the entry represents a file; false
otherwiselong getLastModifiedTime()
This work is licensed under a Creative Commons Attribution 4.0 International License.