public enum ChangelistStatus extends Enum<ChangelistStatus>
| Modifier and Type | Method and Description |
|---|---|
static ChangelistStatus |
fromString(String str)
A user-friendly fail-safe way to convert from strings to file actions
without generating exceptions, etc.
|
static ChangelistStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangelistStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangelistStatus NEW
public static final ChangelistStatus PENDING
public static final ChangelistStatus SUBMITTED
public static ChangelistStatus[] values()
for (ChangelistStatus c : ChangelistStatus.values()) System.out.println(c);
public static ChangelistStatus 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 ChangelistStatus fromString(String str)
str - upper, lower, or mixed-case candidate string, or nullCopyright © 2017 Perforce Software. All Rights Reserved.