Top Fields Constructors Methods
liquibase.change.core

public Class DropProcedureChange

extends AbstractChange
Class Inheritance
Annotations
@DatabaseChange
name:dropProcedure
description:Drops an existing procedure
priority:101
appliesTo:storedProcedure
Imports
liquibase.change.AbstractChange, .ChangeMetaData, .DatabaseChange, .DatabaseChangeProperty, liquibase.database.Database, liquibase.serializer.LiquibaseSerializable, liquibase.statement.SqlStatement, liquibase.statement.core.DropProcedureStatement

Field Summary

Modifier and TypeField and Description
private String
private String
private String
Inherited from liquibase.change.AbstractChange:
NODENAME_COLUMN

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SqlStatement[]
generateStatements(Database database)

Implements liquibase.change.Change.generateStatements.

Generates the SqlStatement objects required to run the change for the given database.

public String
public String
getConfirmationMessage()

Implements liquibase.change.Change.getConfirmationMessage.

Confirmation message to be displayed after the change is executed.

public String
public String
public String
public void
setCatalogName(String catalogName)

public void
setProcedureName(String procedureName)

public void
setSchemaName(String schemaName)

Inherited from liquibase.change.AbstractChange:
checkStatuscreateChangeMetaDatacreateChangeParameterMetadatacreateDescriptionMetaDatacreateEmptyColumnConfigcreateExampleValueMetaDatacreateInversescreateMustEqualExistingMetaDatacreateRequiredDatabasesMetaDatacreateSerializationTypeMetaDatacreateSinceMetaDatacreateSupportedDatabasesMetaDatacustomLoadLogicequalsfinishInitializationgenerateCheckSumgenerateRollbackStatementsgenerateRollbackStatementsVolatilegenerateStatementsVolatilegetAffectedDatabaseObjectsgetChangeSetgetDescriptiongetExcludedFieldFiltersgetResourceAccessorgetSerializableFieldNamespacegetSerializableFieldsgetSerializableFieldTypegetSerializableFieldValuegetSerializedObjectNamehashCodeisInvalidPropertyloadmodifyserializeserializeValuesetChangeSetsetResourceAccessorshouldExecuteChangesupportssupportsRollbacktoStringvalidatewarn

Field Detail

catalogNameback to summary
private String catalogName
procedureNameback to summary
private String procedureName
schemaNameback to summary
private String schemaName

Constructor Detail

DropProcedureChangeback to summary
public DropProcedureChange()

Method Detail

generateStatementsback to summary
public SqlStatement[] generateStatements(Database database)

Implements liquibase.change.Change.generateStatements.

Doc from liquibase.change.Change.generateStatements.

Generates the SqlStatement objects required to run the change for the given database.

NOTE: This method may be called multiple times throughout the changelog execution process and may be called in documentation generation and other integration points as well.

If this method reads from the current database state or uses any other logic that will be affected by whether previous changeSets have ran or not, you must return true from generateStatementsVolatile.
Annotations
@Override
getCatalogNameback to summary
public String getCatalogName()
Annotations
@DatabaseChangeProperty
mustEqualExisting:storedProcedure.catalog
description:Name of the database catalog
getConfirmationMessageback to summary
public String getConfirmationMessage()

Implements liquibase.change.Change.getConfirmationMessage.

Doc from liquibase.change.Change.getConfirmationMessage.

Confirmation message to be displayed after the change is executed. Should include relevant configuration settings to make it as helpful as possible. This method may be called outside the changelog execution process, such as in documentation generation.

Annotations
@Override
getProcedureNameback to summary
public String getProcedureName()
Annotations
@DatabaseChangeProperty
mustEqualExisting:storedProcedure
description:Name of the stored procedure to drop
exampleValue:new_customer
getSchemaNameback to summary
public String getSchemaName()
Annotations
@DatabaseChangeProperty
mustEqualExisting:storedProcedure.schema
description:Name of the database schema
getSerializedObjectNamespaceback to summary
public String getSerializedObjectNamespace()

Overrides liquibase.change.AbstractChange.getSerializedObjectNamespace.

Implements liquibase.serializer.LiquibaseSerializable.getSerializedObjectNamespace.

Annotations
@Override
setCatalogNameback to summary
public void setCatalogName(String catalogName)
setProcedureNameback to summary
public void setProcedureName(String procedureName)
setSchemaNameback to summary
public void setSchemaName(String schemaName)