Package liquibase.ext2.cm.change
Class ImportConfiguration
- java.lang.Object
-
- liquibase.change.AbstractChange
-
- liquibase.ext2.cm.change.AbstractCmChange
-
- liquibase.ext2.cm.change.ImportConfiguration
-
- All Implemented Interfaces:
liquibase.change.Change
,liquibase.serializer.LiquibaseSerializable
public class ImportConfiguration extends AbstractCmChange
Imports an existing configuration. It can either live in {opennms.home}/etc (user defined) or in the class path (default).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class liquibase.ext2.cm.change.AbstractCmChange
AbstractCmChange.RunnableWithException
-
-
Constructor Summary
Constructors Constructor Description ImportConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description liquibase.statement.SqlStatement[]
generateStatements(liquibase.database.Database database)
String
getConfigId()
String
getConfirmationMessage()
String
getFilePath()
String
getSchemaId()
void
setConfigId(String configId)
void
setFilePath(String filePath)
void
setSchemaId(String schemaId)
liquibase.exception.ValidationErrors
validate(CmDatabase db, liquibase.exception.ValidationErrors validationErrors)
-
Methods inherited from class liquibase.ext2.cm.change.AbstractCmChange
checkRequiredField, generateRollbackStatementsVolatile, generateStatementsVolatile, supports, validate
-
Methods inherited from class liquibase.change.AbstractChange
checkStatus, createChangeMetaData, createChangeParameterMetadata, createDescriptionMetaData, createEmptyColumnConfig, createExampleValueMetaData, createInverses, createMustEqualExistingMetaData, createRequiredDatabasesMetaData, createSerializationTypeMetaData, createSinceMetaData, createSupportedDatabasesMetaData, customLoadLogic, finishInitialization, generateCheckSum, generateRollbackStatements, getAffectedDatabaseObjects, getChangeSet, getDescription, getResourceAccessor, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, isInvalidProperty, load, serialize, serializeValue, setChangeSet, setResourceAccessor, supportsRollback, toString, warn
-
-
-
-
Method Detail
-
validate
public liquibase.exception.ValidationErrors validate(CmDatabase db, liquibase.exception.ValidationErrors validationErrors)
- Specified by:
validate
in classAbstractCmChange
-
getConfirmationMessage
public String getConfirmationMessage()
-
generateStatements
public liquibase.statement.SqlStatement[] generateStatements(liquibase.database.Database database)
-
getSchemaId
public String getSchemaId()
-
setSchemaId
public void setSchemaId(String schemaId)
-
getConfigId
public String getConfigId()
-
setConfigId
public void setConfigId(String configId)
-
getFilePath
public String getFilePath()
-
setFilePath
public void setFilePath(String filePath)
-
-