Package io.github.yrashid.actualschema
Class GenerateActualSchemaTask
-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Named,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.util.Configurable
@DisableCachingByDefault(because = "The output is produced by an external Docker image tag, which may be mutable; Gradle up-to-date checks still apply") public abstract class GenerateActualSchemaTask extends DefaultTask
-
-
Field Summary
Fields Modifier and Type Field Description private final RegularFilePropertychangelogFileprivate final DirectoryPropertyresourceBaseDirprivate final ConfigurableFileCollectionliquibaseRuntimeClasspathprivate final RegularFilePropertyoutputFileprivate final Property<String>postgresImageprivate final Property<String>postgresImageCompatibleSubstituteForprivate final Property<String>databaseNameprivate final Property<String>usernameprivate final Property<String>passwordprivate final ListProperty<String>schemasprivate final SetProperty<String>excludeTablesprivate final ListProperty<String>liquibaseContextsprivate final ListProperty<String>liquibaseLabelsprivate final MapProperty<String, String>liquibaseParametersprivate final Property<String>liquibaseDefaultSchemaprivate final Property<String>liquibaseSchemaprivate final Property<String>liquibaseChangeLogTableprivate final Property<String>liquibaseChangeLogLockTableprivate final Property<Boolean>includeLiquibaseTablesprivate final Property<Boolean>normalizeOutputprivate final WorkerExecutorworkerExecutorprivate final TaskOutputsInternaloutputsprivate final Spec<in TaskInternal>onlyIfprivate final Property<Duration>timeoutprivate final TaskRequiredServicesrequiredServicesprivate final TaskDependencyInternaltaskDependenciesprivate final Set<Object>dependsOnprivate final TaskDestroyablesdestroyablesprivate final Loggerloggerprivate final Stringpathprivate final Factory<File>temporaryDirFactoryprivate final Optional<String>reasonTaskIsIncompatibleWithConfigurationCacheprivate final TaskLocalStatelocalStateprivate final List<InputChangesAwareTaskAction>taskActionsprivate final TaskDependencyInternallifecycleDependenciesprivate BooleanisEnabledprivate BooleanimpliesSubProjectsprivate final TaskInputsInternalinputsprivate Booleanenabledprivate final TaskStateInternalstateprivate final TaskIdentity<?>taskIdentityprivate final TaskDependencyshouldRunAfterprivate final ExtensionContainerextensionsprivate final BooleanisCompatibleWithConfigurationCacheprivate final TaskDependencyfinalizedByprivate final AntBuilderantprivate final DynamicObjectasDynamicObjectprivate final List<ResourceLock>sharedResourcesprivate BooleandidWorkprivate final Optional<String>reasonNotToTrackStateprivate Stringgroupprivate final Set<String>reasonsNotToTrackStateprivate final BooleanisHasCustomActionsprivate List<Action<in Task>>actionsprivate final Stringnameprivate final FiletemporaryDirprivate final LoggingManagerloggingprivate final PathidentityPathprivate final TaskDependencymustRunAfterprivate final StandardOutputCapturestandardOutputCaptureprivate final Projectprojectprivate Stringdescription
-
Constructor Summary
Constructors Constructor Description GenerateActualSchemaTask()
-
Method Summary
Modifier and Type Method Description abstract RegularFilePropertygetChangelogFile()abstract DirectoryPropertygetResourceBaseDir()abstract ConfigurableFileCollectiongetLiquibaseRuntimeClasspath()abstract RegularFilePropertygetOutputFile()abstract Property<String>getPostgresImage()abstract Property<String>getPostgresImageCompatibleSubstituteFor()abstract Property<String>getDatabaseName()abstract Property<String>getUsername()abstract Property<String>getPassword()abstract ListProperty<String>getSchemas()abstract SetProperty<String>getExcludeTables()abstract ListProperty<String>getLiquibaseContexts()abstract ListProperty<String>getLiquibaseLabels()abstract MapProperty<String, String>getLiquibaseParameters()abstract Property<String>getLiquibaseDefaultSchema()abstract Property<String>getLiquibaseSchema()abstract Property<String>getLiquibaseChangeLogTable()abstract Property<String>getLiquibaseChangeLogLockTable()abstract Property<Boolean>getIncludeLiquibaseTables()abstract Property<Boolean>getNormalizeOutput()abstract WorkerExecutorgetWorkerExecutor()final Unitgenerate()-
Methods inherited from class org.gradle.api.DefaultTask
getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, setActions, setDescription, setDidWork, setEnabled, setEnabled, setGroup -
Methods inherited from class org.gradle.api.internal.AbstractTask
getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getReasonsNotToTrackState, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, setImpliesSubProjects -
Methods inherited from class org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setDependsOn, setFinalizedBy, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class kotlin.Comparable
compareTo -
Methods inherited from class org.gradle.api.internal.TaskInternal
acceptServiceReferences, appendParallelSafeAction, doNotTrackStateIf, hasTaskActions, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getChangelogFile
@InputFile()@PathSensitive(value = PathSensitivity.RELATIVE) abstract RegularFileProperty getChangelogFile()
-
getResourceBaseDir
@InputDirectory()@PathSensitive(value = PathSensitivity.RELATIVE) abstract DirectoryProperty getResourceBaseDir()
-
getLiquibaseRuntimeClasspath
@Classpath() abstract ConfigurableFileCollection getLiquibaseRuntimeClasspath()
-
getOutputFile
@OutputFile() abstract RegularFileProperty getOutputFile()
-
getPostgresImage
@Input() abstract Property<String> getPostgresImage()
-
getPostgresImageCompatibleSubstituteFor
@Input() abstract Property<String> getPostgresImageCompatibleSubstituteFor()
-
getDatabaseName
@Input() abstract Property<String> getDatabaseName()
-
getUsername
@Input() abstract Property<String> getUsername()
-
getPassword
@Internal() abstract Property<String> getPassword()
-
getSchemas
@Input() abstract ListProperty<String> getSchemas()
-
getExcludeTables
@Input() abstract SetProperty<String> getExcludeTables()
-
getLiquibaseContexts
@Input() abstract ListProperty<String> getLiquibaseContexts()
-
getLiquibaseLabels
@Input() abstract ListProperty<String> getLiquibaseLabels()
-
getLiquibaseParameters
@Input() abstract MapProperty<String, String> getLiquibaseParameters()
-
getLiquibaseDefaultSchema
@Input()@Optional() abstract Property<String> getLiquibaseDefaultSchema()
-
getLiquibaseSchema
@Input()@Optional() abstract Property<String> getLiquibaseSchema()
-
getLiquibaseChangeLogTable
@Input() abstract Property<String> getLiquibaseChangeLogTable()
-
getLiquibaseChangeLogLockTable
@Input() abstract Property<String> getLiquibaseChangeLogLockTable()
-
getIncludeLiquibaseTables
@Input() abstract Property<Boolean> getIncludeLiquibaseTables()
-
getNormalizeOutput
@Input() abstract Property<Boolean> getNormalizeOutput()
-
getWorkerExecutor
@Inject() abstract WorkerExecutor getWorkerExecutor()
-
-
-
-