Package liquibase
Class ContextExpression
java.lang.Object
liquibase.ContextExpression
Encapsulates logic for evaluating if a set of runtime contexts matches a context expression string.
-
Constructor Summary
ConstructorDescriptionContextExpression
(String contexts) ContextExpression
(String... contexts) ContextExpression
(Collection<String> contexts) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isEmpty()
boolean
Returns true if the passed runtime contexts match this context expressionstatic boolean
matchesAll
(Collection<ContextExpression> expressions, Contexts contexts) toString()