|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectliquibase.serializer.AbstractLiquibaseSerializable
liquibase.precondition.AbstractPrecondition
liquibase.precondition.core.RunningAsPrecondition
public class RunningAsPrecondition
Precondition that checks the name of the user executing the change log.
| 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 | |
|---|---|
RunningAsPrecondition()
|
|
| Method Summary | |
|---|---|
void |
check(Database database,
DatabaseChangeLog changeLog,
ChangeSet changeSet)
|
String |
getName()
|
String |
getSerializedObjectNamespace()
|
String |
getUsername()
|
void |
setUsername(String aUserName)
|
ValidationErrors |
validate(Database database)
|
Warnings |
warn(Database database)
|
| Methods inherited from class liquibase.precondition.AbstractPrecondition |
|---|
getSerializedObjectName |
| Methods inherited from class liquibase.serializer.AbstractLiquibaseSerializable |
|---|
getSerializableFields, getSerializableFieldType, getSerializableFieldValue, load, serialize, serializeValue, shouldAutoLoad |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface liquibase.precondition.Precondition |
|---|
load |
| Methods inherited from interface liquibase.serializer.LiquibaseSerializable |
|---|
getSerializableFields, getSerializableFieldType, getSerializableFieldValue, serialize |
| Constructor Detail |
|---|
public RunningAsPrecondition()
| Method Detail |
|---|
public void setUsername(String aUserName)
public String getUsername()
public Warnings warn(Database database)
public ValidationErrors validate(Database database)
public void check(Database database,
DatabaseChangeLog changeLog,
ChangeSet changeSet)
throws PreconditionFailedException,
PreconditionErrorException
PreconditionFailedException
PreconditionErrorExceptionpublic String getSerializedObjectNamespace()
public String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||