public enum CommitAction extends Enum<CommitAction>
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static CommitAction |
parse(String key) |
static CommitAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitAction ADD
public static final CommitAction EDIT
public static final CommitAction DELETE
public static final CommitAction MERGE
public static final CommitAction UNKNOWN
public static CommitAction[] values()
for (CommitAction c : CommitAction.values()) System.out.println(c);
public static CommitAction 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 String getKey()
public static CommitAction parse(String key)
Copyright © 2017 Perforce Software. All Rights Reserved.