public abstract class AbstractTask extends Object implements Task
| Constructor and Description |
|---|
AbstractTask() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier()
This String is used to identify a particular task.
|
boolean |
isRun(Target target,
Version version,
boolean hasAlreadyRun)
The implemetation of this method decides if this version is to be run or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComment, getTarget, getVersion, isSchemaChange, runTaskpublic boolean isRun(Target target, Version version, boolean hasAlreadyRun)
TaskisRun in interface Tasktarget - the target that has been specified. Is often null.version - the version of the schema the database is to be upgraded tohasAlreadyRun - true if this task has already been run, false if it hasn't.public String getIdentifier()
TaskgetIdentifier in interface TaskCopyright © 2015. All rights reserved.