public abstract class MigrationEntryImpl extends Object implements MigrationEntry
MigrationEntry
.Modifier and Type | Field and Description |
---|---|
static String |
METADATA_CHECKSUM |
static String |
METADATA_FILES |
static String |
METADATA_FILTERED |
static String |
METADATA_FOLDER |
static String |
METADATA_LAST_MODIFIED |
static String |
METADATA_NAME |
static String |
METADATA_PROPERTY |
static String |
METADATA_REFERENCE |
static String |
METADATA_SOFTLINK |
Modifier | Constructor and Description |
---|---|
protected |
MigrationEntryImpl() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MigrationEntry me) |
boolean |
equals(Object o) |
protected abstract MigrationContext |
getContext() |
String |
getId()
Gets the identifier for the
Migratable service responsible for
this entry. |
MigrationReport |
getReport()
Gets the migration report associated with this entry.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLastModifiedTime, getName, getPath, isDirectory, isFile
public static final String METADATA_NAME
public static final String METADATA_FOLDER
public static final String METADATA_SOFTLINK
public static final String METADATA_PROPERTY
public static final String METADATA_REFERENCE
public static final String METADATA_CHECKSUM
public static final String METADATA_FILTERED
public static final String METADATA_LAST_MODIFIED
public static final String METADATA_FILES
public MigrationReport getReport()
MigrationEntry
getReport
in interface MigrationEntry
@Nullable public String getId()
Migratable
service responsible for
this entry.getId
in interface MigrationEntry
null
if this is an entry defined
by the migration framework (e.g. Version.txt)public int compareTo(@Nullable MigrationEntry me)
compareTo
in interface Comparable<MigrationEntry>
protected abstract MigrationContext getContext()
This work is licensed under a Creative Commons Attribution 4.0 International License.