public enum CheckoutStatus extends Enum<CheckoutStatus>
Modifier and Type | Method and Description |
---|---|
static CheckoutStatus |
parse(String status)
Parse a string (case insensitive) for matching enum.
|
static CheckoutStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckoutStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckoutStatus HEAD
public static final CheckoutStatus SHELVED
public static final CheckoutStatus COMMITTED
public static final CheckoutStatus SUBMITTED
public static CheckoutStatus[] values()
for (CheckoutStatus c : CheckoutStatus.values()) System.out.println(c);
public static CheckoutStatus 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 static CheckoutStatus parse(String status)
status
- Status from requestCopyright © 2016–2019. All rights reserved.