public abstract class RevFlagFilter extends RevFilter
Modifier and Type | Class and Description |
---|---|
private static class |
RevFlagFilter.HasAll |
private static class |
RevFlagFilter.HasAny |
Modifier and Type | Field and Description |
---|---|
(package private) RevFlagSet |
flags |
ALL, MERGE_BASE, NO_MERGES, NONE, ONLY_MERGES
Constructor and Description |
---|
RevFlagFilter(RevFlagSet m) |
Modifier and Type | Method and Description |
---|---|
RevFilter |
clone() |
static RevFilter |
has(RevFlag a)
Create a new filter that tests for a single flag.
|
static RevFilter |
hasAll(RevFlag... a)
Create a new filter that tests all flags in a set.
|
static RevFilter |
hasAll(RevFlagSet a)
Create a new filter that tests all flags in a set.
|
static RevFilter |
hasAny(RevFlag... a)
Create a new filter that tests for any flag in a set.
|
static RevFilter |
hasAny(RevFlagSet a)
Create a new filter that tests for any flag in a set.
|
java.lang.String |
toString() |
include, negate, requiresCommitBody
final RevFlagSet flags
RevFlagFilter(RevFlagSet m)
public static RevFilter has(RevFlag a)
a
- the flag to test.a
.public static RevFilter hasAll(RevFlag... a)
a
- set of flags to test.a
.public static RevFilter hasAll(RevFlagSet a)
a
- set of flags to test.a
.public static RevFilter hasAny(RevFlag... a)
a
- set of flags to test.a
.public static RevFilter hasAny(RevFlagSet a)
a
- set of flags to test.a
.public RevFilter clone()
Clone this revision filter, including its parameters.
This is a deep clone. If this filter embeds objects or other filters it must also clone those, to ensure the instances do not share mutable data.