Change parameter.
Instances of this class are tracked within ChangeMetaData and are immutable.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final Change | |
| public static final String | |
| private String | |
| private Class | |
| private Type[] | |
| private final String | |
| private final String | |
| private final Map | |
| private final String | |
| public static final String | |
| private final String | |
| private Optional | |
| private Set | |
| private final String[] | |
| private final LiquibaseSerializable. | |
| private final String | |
| private Set | |
| private final String[] | |
| private Optional |
| Access | Constructor and Description |
|---|---|
| public | ChangeParameterMetaData(Change change, String parameterName, String displayName, String description, Map<String, Object> exampleValues, String since, Type dataType, String[] requiredForDatabase, String[] supportedDatabases, String mustEqualExisting, LiquibaseSerializable.
|
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| protected Set | |
| protected Set | |
| public Object | |
| public String | |
| public Class | |
| public Type[] | |
| public String | |
| public String | |
| public Object | |
| public String | getMustEqualExisting()
Returns a dot-delimited chain of |
| public String | |
| private Method | |
| public Set | |
| public LiquibaseSerializable. | getSerializationType()
Return the |
| public String | |
| private static ValidationErrors | |
| public Set | |
| private Method | |
| public boolean | isRequiredFor(Database database)
A convenience method for testing the value returned by |
| public void | |
| public boolean | |
| public String | |
| public ChangeParameterMetaData |
| ALL | back to summary |
|---|---|
| public static final String ALL | |
| change | back to summary |
|---|---|
| private final Change change | |
| COMPUTE | back to summary |
|---|---|
| public static final String COMPUTE | |
| dataType | back to summary |
|---|---|
| private String dataType | |
| dataTypeClass | back to summary |
|---|---|
| private Class<T> dataTypeClass | |
| dataTypeClassParameters | back to summary |
|---|---|
| private Type[] dataTypeClassParameters | |
| description | back to summary |
|---|---|
| private final String description | |
| displayName | back to summary |
|---|---|
| private final String displayName | |
| exampleValues | back to summary |
|---|---|
| private final Map<String, Object> exampleValues | |
| mustEqualExisting | back to summary |
|---|---|
| private final String mustEqualExisting | |
| NONE | back to summary |
|---|---|
| public static final String NONE | |
| parameterName | back to summary |
|---|---|
| private final String parameterName | |
| readMethodRef | back to summary |
|---|---|
| private Optional<Method> readMethodRef | |
| requiredForDatabase | back to summary |
|---|---|
| private Set<String> requiredForDatabase | |
| requiredForDatabaseArg | back to summary |
|---|---|
| private final String[] requiredForDatabaseArg | |
| serializationType | back to summary |
|---|---|
| private final LiquibaseSerializable. | |
| since | back to summary |
|---|---|
| private final String since | |
| supportedDatabases | back to summary |
|---|---|
| private Set<String> supportedDatabases | |
| supportedDatabasesArg | back to summary |
|---|---|
| private final String[] supportedDatabasesArg | |
| writeMethodRef | back to summary |
|---|---|
| private Optional<Method> writeMethodRef | |
| ChangeParameterMetaData | back to summary |
|---|---|
| public ChangeParameterMetaData(Change change, String parameterName, String displayName, String description, Map<String, Object> exampleValues, String since, Type dataType, String[] requiredForDatabase, String[] supportedDatabases, String mustEqualExisting, LiquibaseSerializable. | |
| allowUnboxing | back to summary |
|---|---|
| private static boolean allowUnboxing(Class<?> actual, Class<?> expected) | |
| analyzeRequiredDatabases | back to summary |
|---|---|
| protected Set | |
| analyzeSupportedDatabases | back to summary |
|---|---|
| protected Set | |
| getCurrentValue | back to summary |
|---|---|
| public Object getCurrentValue(Change change) Returns the current value of this parameter for the given Change. | |
| getDataType | back to summary |
|---|---|
| public String getDataType() Return the data type of value stored in this parameter. Used for documentation and integration purposes as well as validation. | |
| getDataTypeClass | back to summary |
|---|---|
| public Class | |
| getDataTypeClassParameters | back to summary |
|---|---|
| public Type[] getDataTypeClassParameters() | |
| getDescription | back to summary |
|---|---|
| public String getDescription() | |
| getDisplayName | back to summary |
|---|---|
| public String getDisplayName() A more friendly name of the parameter. | |
| getExampleValue | back to summary |
|---|---|
| public Object getExampleValue(Database database) | |
| getMustEqualExisting | back to summary |
|---|---|
| public String getMustEqualExisting() Returns a dot-delimited chain of liquibase. and
liquibase.
This method is used by integrations that want to generate Change instances or configurations pre-filled with
data required to apply to an existing database object.
| |
| getParameterName | back to summary |
|---|---|
| public String getParameterName() Programmatic Name of the parameter. Will not contain spaces so it can be used for XMl tag names etc. By convention, Change names should start be camel case starting with a lower case letter. | |
| getReadMethod | back to summary |
|---|---|
| private Method getReadMethod(Change change) | |
| getRequiredForDatabase | back to summary |
|---|---|
| public Set Return the database types for which this parameter is required. The strings returned correspond to the values
returned by | |
| getSerializationType | back to summary |
|---|---|
| public LiquibaseSerializable. Return the | |
| getSince | back to summary |
|---|---|
| public String getSince() | |
| getStatementErrors | back to summary |
|---|---|
| private static ValidationErrors getStatementErrors(Change testChange, Database database) | |
| getSupportedDatabases | back to summary |
|---|---|
| public Set | |
| getWriteMethod | back to summary |
|---|---|
| private Method getWriteMethod(Change change) | |
| isRequiredFor | back to summary |
|---|---|
| public boolean isRequiredFor(Database database) A convenience method for testing the value returned by | |
| setValue | back to summary |
|---|---|
| public void setValue(Change change, Object value) Sets the value of this parameter on the given change. | |
| supports | back to summary |
|---|---|
| public boolean supports(Database database) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| withAccessors | back to summary |
|---|---|
| public ChangeParameterMetaData withAccessors(Method readMethod, Method writeMethod) | |