Package liquibase
Class Contexts
- java.lang.Object
-
- liquibase.Contexts
-
public class Contexts extends Object
Wrapper for list of contexts.Contexts in Liquibase are expressions you can add to changesets to control which will be executed in any particular migration run. Any string can be used for the context name and they are checked case-insensitively.
- See Also:
- contexts in documentation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(String context)
Set<String>
getContexts()
boolean
isEmpty()
boolean
remove(String context)
String
toString()
-
-
-
Constructor Detail
-
Contexts
public Contexts()
-
Contexts
public Contexts(String... contexts)
-
Contexts
public Contexts(String contexts)
-
Contexts
public Contexts(Collection<String> contexts)
-
-