@Retention(value=RUNTIME) @Target(value=METHOD) public @interface DatabaseChangeProperty
AbstractChange
to declare ChangeParameterMetaData
information.
The annotation should be placed on the read method.
This annotation should not be checked for outside AbstractChange, if any code is trying to determine the
metadata provided by this annotation, it should get it from
ChangeFactory.getChangeMetaData(Change)
Modifier and Type | Optional Element and Description |
---|---|
String |
description
Value to put into
ChangeParameterMetaData.getDescription() |
String |
exampleValue
Value to put into
ChangeParameterMetaData.getExampleValue(Database) |
boolean |
isChangeProperty
If false, this field or method will not be included in
ChangeParameterMetaData |
String |
mustEqualExisting
Value to put into
ChangeParameterMetaData.getMustEqualExisting() |
String[] |
requiredForDatabase
Value to put into
ChangeParameterMetaData.getRequiredForDatabase() |
LiquibaseSerializable.SerializationType |
serializationType
Format to use when serializing this Change via a
ChangeLogSerializer . |
String |
since
Value to put into
ChangeParameterMetaData.getSince() |
String[] |
supportsDatabase
Value to put into
ChangeParameterMetaData.getSupportedDatabases() |
public abstract String description
ChangeParameterMetaData.getDescription()
public abstract String exampleValue
ChangeParameterMetaData.getExampleValue(Database)
public abstract String since
ChangeParameterMetaData.getSince()
public abstract boolean isChangeProperty
ChangeParameterMetaData
public abstract String[] requiredForDatabase
ChangeParameterMetaData.getRequiredForDatabase()
public abstract String[] supportsDatabase
ChangeParameterMetaData.getSupportedDatabases()
public abstract String mustEqualExisting
ChangeParameterMetaData.getMustEqualExisting()
public abstract LiquibaseSerializable.SerializationType serializationType
ChangeLogSerializer
.Copyright © 2023 Liquibase.org. All rights reserved.