public abstract class RevFlagFilter extends RevFilter
ALL, MERGE_BASE, NO_MERGES, NONE, ONLY_MERGES
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.
|
String |
toString() |
include, negate, requiresCommitBody
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.
Copyright © 2020 Eclipse JGit Project. All rights reserved.