public class ContextExpression extends Object
Constructor and Description |
---|
ContextExpression() |
ContextExpression(Collection<String> contexts) |
ContextExpression(String... contexts) |
ContextExpression(String contexts) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(String context) |
Set<String> |
getContexts() |
String |
getOriginalString() |
boolean |
isEmpty() |
boolean |
matches(Contexts runtimeContexts)
Returns true if the passed runtime contexts match this context expression
|
static boolean |
matchesAll(Collection<ContextExpression> expressions,
Contexts contexts) |
String |
toString() |
public ContextExpression()
public ContextExpression(String... contexts)
public ContextExpression(String contexts)
public ContextExpression(Collection<String> contexts)
public boolean add(String context)
public boolean matches(Contexts runtimeContexts)
public boolean isEmpty()
public static boolean matchesAll(Collection<ContextExpression> expressions, Contexts contexts)
public String getOriginalString()
Copyright © 2023 Liquibase.org. All rights reserved.