public abstract class DeployDatabaseScripts extends org.gradle.api.DefaultTask implements DatabaseAware
| Constructor and Description |
|---|
DeployDatabaseScripts() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply() |
void |
apply(java.lang.String phase) |
org.gradle.api.Task |
configure(groovy.lang.Closure closure) |
abstract void |
createPhaseDirectoryOnTarget(java.io.File phaseDir,
java.lang.String phase) |
abstract void |
deployScriptToTarget(java.io.File phaseDir,
java.io.File script,
java.lang.String target) |
Database |
getDatabase() |
static java.util.List<java.io.File> |
getScripts(java.io.File phaseDir) |
java.lang.String |
getTarget(java.lang.String phase,
java.io.File file) |
abstract java.lang.String |
getTargetPrefix() |
void |
setDatabase(Database database) |
compareTo, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService@Internal public Database getDatabase()
getDatabase in interface DatabaseAwarepublic void setDatabase(Database database)
setDatabase in interface DatabaseAwarepublic org.gradle.api.Task configure(groovy.lang.Closure closure)
configure in interface org.gradle.api.Taskconfigure in interface org.gradle.util.Configurable<org.gradle.api.Task>configure in class org.gradle.api.DefaultTaskpublic void apply()
public void apply(java.lang.String phase)
public java.lang.String getTarget(java.lang.String phase,
java.io.File file)
@Internal public abstract java.lang.String getTargetPrefix()
public abstract void createPhaseDirectoryOnTarget(java.io.File phaseDir,
java.lang.String phase)
public static java.util.List<java.io.File> getScripts(java.io.File phaseDir)
public abstract void deployScriptToTarget(java.io.File phaseDir,
java.io.File script,
java.lang.String target)