public class LiquibaseSyncHubMojo extends AbstractLiquibaseChangeLogMojo
Syncs all changes in change log with Hub.
| Modifier and Type | Field and Description |
|---|---|
protected String |
hubConnectionId
Specifies the Liquibase Hub Connection ID for Liquibase to use.
|
protected String |
hubProjectId
Specifies the Liquibase Hub API key for Liquibase to use.
|
changeLogDirectory, changeLogFile, contexts, hubApiKey, hubMode, hubUrl, labelschangelogCatalogName, changelogSchemaName, clearCheckSums, commandName, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, defaultCatalogName, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, liquibaseProLicenseKey, logging, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, propertyProviderClass, skip, systemProperties, url, username, verbose, wagonManager| Constructor and Description |
|---|
LiquibaseSyncHubMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRequiredParametersAreSpecified()
Performs some validation after the properties file has been loaded checking that all
properties required have been specified.
|
protected void |
performLiquibaseTask(Liquibase liquibase)
Performs the actual Liquibase task on the database using the fully configured
Liquibase. |
createLiquibase, getResourceAccessor, printSettingscleanup, configureChangeLogProperties, configureFieldsAndValues, execute, getClassLoaderIncludingProjectClasspath, getField, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, hasProLicense, isPromptOnNonLocalDatabase, parsePropertiesFile, setupBindInfoPackageprotected String hubConnectionId
protected String hubProjectId
protected void checkRequiredParametersAreSpecified()
throws org.apache.maven.plugin.MojoFailureException
AbstractLiquibaseMojocheckRequiredParametersAreSpecified in class AbstractLiquibaseChangeLogMojoorg.apache.maven.plugin.MojoFailureException - If any property that is required has not been
specified.protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException
AbstractLiquibaseChangeLogMojoLiquibase.performLiquibaseTask in class AbstractLiquibaseChangeLogMojoliquibase - The Liquibase that has been fully
configured to run the desired database task.LiquibaseExceptionCopyright © 2021 Liquibase.org. All rights reserved.