public class Contexts extends Object
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.
Constructor and Description |
---|
Contexts() |
Contexts(Collection<String> contexts) |
Contexts(String... contexts) |
Contexts(String contexts) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(String context) |
Set<String> |
getContexts() |
boolean |
isEmpty() |
boolean |
remove(String context) |
String |
toString() |
public Contexts()
public Contexts(String... contexts)
public Contexts(String contexts)
public Contexts(Collection<String> contexts)
Copyright © 2023 Liquibase.org. All rights reserved.