liquibase.snapshot
Class SnapshotControl

java.lang.Object
  extended by liquibase.snapshot.SnapshotControl
All Implemented Interfaces:
LiquibaseSerializable

public class SnapshotControl
extends Object
implements LiquibaseSerializable


Nested Class Summary
 
Nested classes/interfaces inherited from interface liquibase.serializer.LiquibaseSerializable
LiquibaseSerializable.SerializationType
 
Field Summary
 
Fields inherited from interface liquibase.serializer.LiquibaseSerializable
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
 
Constructor Summary
SnapshotControl(Database database)
           
SnapshotControl(Database database, boolean expandTypesIfNeeded, Class<? extends DatabaseObject>... types)
           
SnapshotControl(Database database, Class<? extends DatabaseObject>... types)
           
SnapshotControl(Database database, String types)
           
 
Method Summary
 boolean addType(Class<? extends DatabaseObject> type, Database database)
           
 String getSerializableFieldNamespace(String field)
           
 Set<String> getSerializableFields()
           
 LiquibaseSerializable.SerializationType getSerializableFieldType(String field)
           
 Object getSerializableFieldValue(String field)
           
 String getSerializedObjectName()
           
 String getSerializedObjectNamespace()
           
 SnapshotListener getSnapshotListener()
           
 Set<Class<? extends DatabaseObject>> getTypesToInclude()
           
 void load(ParsedNode parsedNode, ResourceAccessor resourceAccessor)
           
 ParsedNode serialize()
           
 void setSnapshotListener(SnapshotListener snapshotListener)
           
 boolean shouldInclude(Class<? extends DatabaseObject> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotControl

public SnapshotControl(Database database)

SnapshotControl

public SnapshotControl(Database database,
                       Class<? extends DatabaseObject>... types)

SnapshotControl

public SnapshotControl(Database database,
                       boolean expandTypesIfNeeded,
                       Class<? extends DatabaseObject>... types)

SnapshotControl

public SnapshotControl(Database database,
                       String types)
Method Detail

getSnapshotListener

public SnapshotListener getSnapshotListener()

setSnapshotListener

public void setSnapshotListener(SnapshotListener snapshotListener)

getSerializedObjectName

public String getSerializedObjectName()
Specified by:
getSerializedObjectName in interface LiquibaseSerializable

getSerializableFields

public Set<String> getSerializableFields()
Specified by:
getSerializableFields in interface LiquibaseSerializable

getSerializableFieldValue

public Object getSerializableFieldValue(String field)
Specified by:
getSerializableFieldValue in interface LiquibaseSerializable

getSerializableFieldType

public LiquibaseSerializable.SerializationType getSerializableFieldType(String field)
Specified by:
getSerializableFieldType in interface LiquibaseSerializable

getSerializedObjectNamespace

public String getSerializedObjectNamespace()
Specified by:
getSerializedObjectNamespace in interface LiquibaseSerializable

getSerializableFieldNamespace

public String getSerializableFieldNamespace(String field)
Specified by:
getSerializableFieldNamespace in interface LiquibaseSerializable

addType

public boolean addType(Class<? extends DatabaseObject> type,
                       Database database)

getTypesToInclude

public Set<Class<? extends DatabaseObject>> getTypesToInclude()

shouldInclude

public boolean shouldInclude(Class<? extends DatabaseObject> type)

load

public void load(ParsedNode parsedNode,
                 ResourceAccessor resourceAccessor)
          throws ParsedNodeException
Specified by:
load in interface LiquibaseSerializable
Throws:
ParsedNodeException

serialize

public ParsedNode serialize()
Specified by:
serialize in interface LiquibaseSerializable


Copyright © 2016 Liquibase.org. All rights reserved.