liquibase.changelog
Class ChangeLogParameters

java.lang.Object
  extended by liquibase.changelog.ChangeLogParameters

public class ChangeLogParameters
extends Object


Nested Class Summary
protected static class ChangeLogParameters.ExpressionExpander
           
 
Field Summary
static boolean EnableEscaping
           
 
Constructor Summary
ChangeLogParameters()
           
ChangeLogParameters(Database database)
           
 
Method Summary
 String expandExpressions(String string)
           
 Contexts getContexts()
           
 Object getValue(String key)
          Return the value of a parameter
 boolean hasValue(String key)
           
 void set(String paramter, Object value)
           
 void set(String key, String value, Contexts contexts, String databases)
           
 void set(String key, String value, String contexts, String databases)
           
 void setContexts(Contexts contexts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EnableEscaping

public static final boolean EnableEscaping
Constructor Detail

ChangeLogParameters

public ChangeLogParameters()

ChangeLogParameters

public ChangeLogParameters(Database database)
Method Detail

setContexts

public void setContexts(Contexts contexts)

getContexts

public Contexts getContexts()

set

public void set(String paramter,
                Object value)

set

public void set(String key,
                String value,
                String contexts,
                String databases)

set

public void set(String key,
                String value,
                Contexts contexts,
                String databases)

getValue

public Object getValue(String key)
Return the value of a parameter

Parameters:
key - Name of the parameter
Returns:
The parameter value or null if not found. (Note that null can also be return if it is the parameter value. For strict parameter existence use {@link #hasValue(String)))

hasValue

public boolean hasValue(String key)

expandExpressions

public String expandExpressions(String string)


Copyright © 2014 Liquibase.org. All Rights Reserved.