public enum CommitOrder extends Enum<CommitOrder>
Enum Constant and Description |
---|
DATE
Traverse commits in reverse date order, which is not guaranteed to be in topological order;
parents may be shown before their descendant commits if the descendant commit predates the parent commit.
|
DEFAULT
Uses the default ordering of the underlying SCM
|
TOPOLOGICAL
Traverse the commits in topological order (i.e.
|
Modifier and Type | Method and Description |
---|---|
static CommitOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitOrder DATE
public static final CommitOrder DEFAULT
public static final CommitOrder TOPOLOGICAL
public static CommitOrder[] values()
for (CommitOrder c : CommitOrder.values()) System.out.println(c);
public static CommitOrder 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 nullCopyright © 2024 Atlassian. All rights reserved.