public enum GitRevListOrder extends Enum<GitRevListOrder>
git rev-list, controlling use of the --date-order
 and --topo-order flags.| Enum Constant and Description | 
|---|
| DATESimilar to  --topo-orderin the sense that no parent comes before all of its children,
 but otherwise things are still ordered in the commit timestamp order. | 
| DEFAULTApply  git rev-list's default behaviour. | 
| TOPOLOGICALOutput the commits in topological order (i.e. | 
| Modifier and Type | Method and Description | 
|---|---|
| static GitRevListOrder | fromCommitOrder(com.atlassian.bitbucket.commit.CommitOrder order) | 
| String | getFlag() | 
| boolean | isFlagged() | 
| static GitRevListOrder | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static GitRevListOrder[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final GitRevListOrder DATE
--topo-order in the sense that no parent comes before all of its children,
 but otherwise things are still ordered in the commit timestamp order.public static final GitRevListOrder DEFAULT
git rev-list's default behaviour.public static final GitRevListOrder TOPOLOGICAL
public static GitRevListOrder[] values()
for (GitRevListOrder c : GitRevListOrder.values()) System.out.println(c);
public static GitRevListOrder 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()
@Nonnull public static GitRevListOrder fromCommitOrder(@Nonnull com.atlassian.bitbucket.commit.CommitOrder order)
Copyright © 2019 Atlassian. All rights reserved.