| Modifier and Type | Field and Description |
|---|---|
| private ObjectChangeFilter | |
| private SnapshotListener | |
| private Set | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | SnapshotControl(Database
the DBMS for which snapshots should be generated database)Create a SnapshotControl for a given database and mark the database's standard types for inclusion. |
| public | SnapshotControl(Database
the DBMS for which snapshots should be generated database, Class<? extends DatabaseObject>... the list of object types to be included in the snapshot types)Create a Snapshot control for a given database, but explicitly set the object types to be included in snapshots. |
| public | SnapshotControl(Database database, boolean expandTypesIfNeeded, Class<? extends DatabaseObject>... types)
|
| public | SnapshotControl(Database
the DBMS for which snapshots should be generated database, String the list of object types to be included in the snapshot, separated by commas types)Create a Snapshot control for a given database, but explicitly set the object types to be included in snapshots. |
| public | SnapshotControl(Database database, ObjectChangeFilter objectChangeFilter, Class<? extends DatabaseObject>... types)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the type was added to the list, false if it was already present.The type to be added type, Database The database to check for any dependent types that need to be included as well database)Adds a new DatabaseObject type to the list of object types to be included in snapshots. |
| public String | |
| public Set | |
| public LiquibaseSerializable. | |
| public Object | |
| public String | |
| public String | |
| public SnapshotListener | |
| public Set | Returns: the set of currently registered typesReturn the types to be included in snapshots |
| public boolean | Returns: true if WARNINGs should be emitted (default), false if not.Returns if the code should log a LogLevel.WARNING message if the object to be snapshotted could not be found. |
| public void | load(ParsedNode parsedNode, ResourceAccessor resourceAccessor)
Implements liquibase.
|
| public ParsedNode | |
| public void | |
| private void | |
| public SnapshotControl | setWarnIfObjectNotFound(boolean
true if a warning should emitted (default value), false if not. warnIfObjectNotFound)Configures the code to log a LogLevel.WARNING message if the object to be snapshotted could not be found. |
| public boolean | Returns: true if that type is registered for inclusion, false if notthe DatabaseObject type to be checked type)Queries the currently registered list of types to be included and returns true if the given type is in that list |
| public <T extends DatabaseObject> boolean |
| objectChangeFilter | back to summary |
|---|---|
| private ObjectChangeFilter objectChangeFilter | |
| snapshotListener | back to summary |
|---|---|
| private SnapshotListener snapshotListener | |
| types | back to summary |
|---|---|
| private Set<Class<? extends DatabaseObject>> types | |
| warnIfObjectNotFound | back to summary |
|---|---|
| private boolean warnIfObjectNotFound | |
| SnapshotControl | back to summary |
|---|---|
| public SnapshotControl(Database database) Create a SnapshotControl for a given database and mark the database's standard types for inclusion.
| |
| SnapshotControl | back to summary |
|---|---|
| public SnapshotControl(Database database, Class<? extends DatabaseObject>... types) Create a Snapshot control for a given database, but explicitly set the object types to be included in snapshots.
| |
| SnapshotControl | back to summary |
|---|---|
public SnapshotControl(Database database, boolean expandTypesIfNeeded, Class<? extends DatabaseObject>... types)
| |
| SnapshotControl | back to summary |
|---|---|
| public SnapshotControl(Database database, String types) Create a Snapshot control for a given database, but explicitly set the object types to be included in snapshots. | |
| SnapshotControl | back to summary |
|---|---|
| public SnapshotControl(Database database, ObjectChangeFilter objectChangeFilter, Class<? extends DatabaseObject>... types) | |
| addType | back to summary |
|---|---|
| public boolean addType(Class<? extends DatabaseObject> type, Database database) Adds a new DatabaseObject type to the list of object types to be included in snapshots.
| |
| getSerializableFieldNamespace | back to summary |
|---|---|
| public String getSerializableFieldNamespace(String field) Implements liquibase.
| |
| getSerializableFields | back to summary |
|---|---|
| public Set Implements liquibase.
| |
| getSerializableFieldType | back to summary |
|---|---|
| public LiquibaseSerializable. Implements liquibase.
| |
| getSerializableFieldValue | back to summary |
|---|---|
| public Object getSerializableFieldValue(String field) Implements liquibase.
| |
| getSerializedObjectName | back to summary |
|---|---|
| public String getSerializedObjectName() Implements liquibase.
| |
| getSerializedObjectNamespace | back to summary |
|---|---|
| public String getSerializedObjectNamespace() Implements liquibase.
| |
| getSnapshotListener | back to summary |
|---|---|
| public SnapshotListener getSnapshotListener() | |
| getTypesToInclude | back to summary |
|---|---|
| public Set Return the types to be included in snapshots
| |
| isWarnIfObjectNotFound | back to summary |
|---|---|
| public boolean isWarnIfObjectNotFound() Returns if the code should log a LogLevel.WARNING message if the object to be snapshotted could not be found.
| |
| load | back to summary |
|---|---|
| public void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException Implements liquibase.
| |
| serialize | back to summary |
|---|---|
| public ParsedNode serialize() Implements liquibase.
| |
| setSnapshotListener | back to summary |
|---|---|
| public void setSnapshotListener(SnapshotListener snapshotListener) | |
| setTypes | back to summary |
|---|---|
| private void setTypes(Set<Class<? extends DatabaseObject>> types, Database database) | |
| setWarnIfObjectNotFound | back to summary |
|---|---|
| public SnapshotControl setWarnIfObjectNotFound(boolean warnIfObjectNotFound) Configures the code to log a LogLevel.WARNING message if the object to be snapshotted could not be found.
| |
| shouldInclude | back to summary |
|---|---|
| public boolean shouldInclude(Class<? extends DatabaseObject> type) Queries the currently registered list of types to be included and returns true if the given type is in that list
| |
| shouldInclude | back to summary |
|---|---|
| public <T extends DatabaseObject> boolean shouldInclude(T example) | |