@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum MergeOptionTypeEnum extends Enum<MergeOptionTypeEnum>
Enum Constant and Description |
---|
FAST_FORWARD_MERGE |
SQUASH_MERGE |
THREE_WAY_MERGE |
Modifier and Type | Method and Description |
---|---|
static MergeOptionTypeEnum |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static MergeOptionTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeOptionTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeOptionTypeEnum FAST_FORWARD_MERGE
public static final MergeOptionTypeEnum SQUASH_MERGE
public static final MergeOptionTypeEnum THREE_WAY_MERGE
public static MergeOptionTypeEnum[] values()
for (MergeOptionTypeEnum c : MergeOptionTypeEnum.values()) System.out.println(c);
public static MergeOptionTypeEnum 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 toString()
toString
in class Enum<MergeOptionTypeEnum>
public static MergeOptionTypeEnum fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.