Labels are tags that you can add to changesets to control which changeset will be executed in any migration run. Labels control whether a changeset is executed depending on runtime settings. Any string can be used for the label name, and it is case-insensitive.
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Set | |
| public String | |
| public boolean | |
| public boolean | |
| private boolean | |
| public static boolean | Returns: boolean True if matchExpressions to match against changesetLabels, LabelExpression Runtime labels labelExpression)Return true if all the LabelExpression objects match the runtime |
| private void | |
| public String |
| labels | back to summary |
|---|---|
| private final HashSet<String> labels | |
| originalString | back to summary |
|---|---|
| private String originalString | |
| LabelExpression | back to summary |
|---|---|
| public LabelExpression() | |
| LabelExpression | back to summary |
|---|---|
| public LabelExpression(String... labels) | |
| LabelExpression | back to summary |
|---|---|
| public LabelExpression(String labels) | |
| LabelExpression | back to summary |
|---|---|
| public LabelExpression(Collection<String> labels) | |
| add | back to summary |
|---|---|
| public boolean add(String label) | |
| getLabels | back to summary |
|---|---|
| public Set | |
| getOriginalString | back to summary |
|---|---|
| public String getOriginalString() | |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| matches | back to summary |
|---|---|
| public boolean matches(Labels runtimeLabels) Returns true if the passed runtime labels match this label expression | |
| matches | back to summary |
|---|---|
| private boolean matches(String expression, Labels runtimeLabels) | |
| matchesAll | back to summary |
|---|---|
| public static boolean matchesAll(Collection<Labels> changesetLabels, LabelExpression labelExpression) Return true if all the LabelExpression objects match the runtime
| |
| parseLabelString | back to summary |
|---|---|
| private void parseLabelString(String labels) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |