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, Class<? extends DatabaseObject>... types)
           
SnapshotControl(Database database, String types)
           
 
Method Summary
 boolean addType(Class<? extends DatabaseObject> type, Database database)
           
 Set<String> getSerializableFields()
           
 LiquibaseSerializable.SerializationType getSerializableFieldType(String field)
           
 Object getSerializableFieldValue(String field)
           
 String getSerializedObjectName()
           
 String getSerializedObjectNamespace()
           
 Set<Class<? extends DatabaseObject>> getTypesToInclude()
           
 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,
                       String types)
Method Detail

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

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)


Copyright © 2014 Liquibase.org. All Rights Reserved.