public static enum Project.State extends Enum<Project.State>
| Enum Constant and Description |
|---|
ACTIVE |
DISABLED |
SUSPENDED |
UNRECOGNIZED |
| Modifier and Type | Method and Description |
|---|---|
static Project.State |
fromValue(String state) |
String |
toString() |
static Project.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.State ACTIVE
public static final Project.State DISABLED
public static final Project.State SUSPENDED
public static final Project.State UNRECOGNIZED
public static Project.State[] values()
for (Project.State c : Project.State.values()) System.out.println(c);
public static Project.State 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<Project.State>public static Project.State fromValue(String state)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.