public enum ProjectType extends java.lang.Enum<ProjectType>
| Enum Constant and Description |
|---|
CLIENT |
DATABASE |
LIBRARY |
OTHER |
SERVICE |
| Modifier and Type | Method and Description |
|---|---|
static ProjectType |
fromString(java.lang.String key) |
java.lang.String |
getKey() |
static ProjectType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectType SERVICE
public static final ProjectType CLIENT
public static final ProjectType DATABASE
public static final ProjectType LIBRARY
public static final ProjectType OTHER
public static ProjectType[] values()
for (ProjectType c : ProjectType.values()) System.out.println(c);
public static ProjectType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ProjectType fromString(java.lang.String key)
public java.lang.String getKey()