public enum GitRevListWalk extends Enum<GitRevListWalk>
git rev-list, controlling use of the --do-walk
 and --no-walk flags.| Enum Constant and Description | 
|---|
| DEFAULTApply  git rev-list's default behaviour. | 
| DO_WALKWalk commit ancestors. | 
| NO_WALKDo not walk commit ancestry; instead, only return the explicitly-requested commits. | 
| NO_WALK_UNSORTEDA variant of  --no-walkintroduced in Git 1.8.0 which returns the commits in the same order
 they were requested in where--no-walksorts them by date. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getFlag() | 
| boolean | isFlagged() | 
| static GitRevListWalk | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static GitRevListWalk[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final GitRevListWalk DEFAULT
git rev-list's default behaviour. For Git 1.x and 2.x, this is a synonym for DO_WALK.public static final GitRevListWalk DO_WALK
public static final GitRevListWalk NO_WALK
--no-walk=unsorted instead.
 Note: When using this mode, no excludes can be provided; processing excludes requires walking ancestry.
public static final GitRevListWalk NO_WALK_UNSORTED
--no-walk introduced in Git 1.8.0 which returns the commits in the same order
 they were requested in where --no-walk sorts them by date.
 Note: When using this mode, no excludes can be provided; processing excludes requires walking ancestry.
public static GitRevListWalk[] values()
for (GitRevListWalk c : GitRevListWalk.values()) System.out.println(c);
public static GitRevListWalk valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isFlagged()
Copyright © 2019 Atlassian. All rights reserved.