|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.dbmaintain.maven.plugin.BaseMojo
org.dbmaintain.maven.plugin.BaseDatabaseMojo
org.dbmaintain.maven.plugin.CheckScriptUpdatesMojo
public class CheckScriptUpdatesMojo
Performs a dry run of the database update. May be used to verify if there are any updates or in a test that fails if it appears that an irregular script update was performed.
Field Summary | |
---|---|
protected Boolean |
allowOutOfSequenceExecutionOfPatches
If this property is set to true, a patch script is allowed to be executed even if another script with a higher index was already executed. |
protected Boolean |
autoCreateDbMaintainScriptsTable
Sets the autoCreateDbMaintainScriptsTable property. |
protected String |
excludedQualifiers
Optional comma-separated list of script qualifiers. |
protected Boolean |
fromScratchEnabled
Sets the fromScratchEnabled property, that indicates the database can be recreated from scratch if needed. |
protected String |
includedQualifiers
Optional comma-separated list of script qualifiers. |
protected String |
patchQualifiers
The qualifier to use to determine whether a script is a patch script. |
protected String |
postProcessingScriptDirectoryName
Comma separated list of directories and files in which the post processing database scripts are located. |
protected String |
qualifiers
Optional comma-separated list of script qualifiers. |
protected List<ScriptArchiveDependency> |
scriptArchiveDependencies
Defines where the scripts can be found that must be executed on the database. |
protected String |
scriptEncoding
Encoding to use when reading the script files. |
protected String |
scriptFileExtensions
Sets the scriptFileExtensions property, that defines the extensions of the files that are regarded to be database scripts. |
protected String |
scriptLocations
Defines where the scripts can be found that must be executed on the database. |
protected Boolean |
useLastModificationDates
Defines whether the last modification dates of the scripts files can be used to determine whether the contents of a script has changed. |
Fields inherited from class org.dbmaintain.maven.plugin.BaseDatabaseMojo |
---|
databases |
Fields inherited from class org.dbmaintain.maven.plugin.BaseMojo |
---|
artifactFactory, configFile, localRepository, mavenProjectHelper, project, remoteRepositories, resolver |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
CheckScriptUpdatesMojo()
|
Method Summary | |
---|---|
protected DbMaintainTask |
createDbMaintainTask(List<DbMaintainDatabase> dbMaintainDatabases)
|
Methods inherited from class org.dbmaintain.maven.plugin.BaseDatabaseMojo |
---|
createDbMaintainTask, getAllScriptLocations, getDbMaintainDatabases |
Methods inherited from class org.dbmaintain.maven.plugin.BaseMojo |
---|
execute, getMavenProperties, performAfterTaskActions |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<ScriptArchiveDependency> scriptArchiveDependencies
protected String scriptLocations
protected String scriptEncoding
protected String postProcessingScriptDirectoryName
protected Boolean fromScratchEnabled
protected Boolean autoCreateDbMaintainScriptsTable
protected Boolean allowOutOfSequenceExecutionOfPatches
protected String qualifiers
protected String patchQualifiers
protected String includedQualifiers
protected String excludedQualifiers
protected String scriptFileExtensions
protected Boolean useLastModificationDates
Constructor Detail |
---|
public CheckScriptUpdatesMojo()
Method Detail |
---|
protected DbMaintainTask createDbMaintainTask(List<DbMaintainDatabase> dbMaintainDatabases)
createDbMaintainTask
in class BaseDatabaseMojo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |