Package liquibase.integration.ant
Class AbstractChangeLogBasedTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
liquibase.integration.ant.BaseLiquibaseTask
liquibase.integration.ant.AbstractChangeLogBasedTask
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ChangeLogSyncTask
,ChangeLogSyncToTagTask
,DatabaseRollbackFutureTask
,DatabaseRollbackTask
,DatabaseUpdateTask
,DatabaseUpdateTestingRollbackTask
,MarkNextChangeSetRanTask
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the change log directory set from Ant.Gets the change log file set from Ant.Deprecated.protected Writer
Gets the change log directory set from Ant.void
setLabelFilter
(String labelFilter) void
Deprecated.protected void
Subclasses that override this method must always callsuper.validateParameters()
method.Methods inherited from class liquibase.integration.ant.BaseLiquibaseTask
addChangeLogParameters, addDatabase, closeDatabase, createClasspath, createDatabaseFromConfiguredDatabaseType, createDatabaseFromType, execute, executeWithLiquibaseClassloader, getDefaultOutputEncoding, getLiquibase, getResourceAccessor, init, isPromptOnNonLocalDatabase, setChangeLogParametersRef, setClasspathRef, setDatabaseRef, setPromptOnNonLocalDatabase, shouldRun
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
AbstractChangeLogBasedTask
public AbstractChangeLogBasedTask()
-
-
Method Details
-
validateParameters
protected void validateParameters()Description copied from class:BaseLiquibaseTask
Subclasses that override this method must always callsuper.validateParameters()
method.- Overrides:
validateParameters
in classBaseLiquibaseTask
-
getOutputFileWriter
- Throws:
IOException
-
getChangeLogDirectory
Gets the change log directory set from Ant.- Overrides:
getChangeLogDirectory
in classBaseLiquibaseTask
- Returns:
- The change log directory resource.
- See Also:
-
getSearchPath
Gets the change log directory set from Ant.- Overrides:
getSearchPath
in classBaseLiquibaseTask
- Returns:
- The change log directory resource.
-
getChangeLogFile
Gets the change log file set from Ant.- Overrides:
getChangeLogFile
in classBaseLiquibaseTask
- Returns:
- The change log file resource.
- See Also:
-
getLabels
Deprecated.use#getLabelFilter()
-
setLabels
Deprecated. -
setLabelFilter
-
getOutputEncoding
-
#getLabelFilter()