public enum ProjectRole extends Enum<ProjectRole>
Enum Constant and Description |
---|
CASCADE
Cascade execution project.
|
LAYOUT
Layout definition project.
|
MEMBER
Member participant project.
|
UNKNOWN
Role unknown.
|
Modifier and Type | Method and Description |
---|---|
String |
code()
Role serialized code stored in job/config.xml
|
static ProjectRole |
from(String code)
Restore enum from serialized code.
|
static ProjectRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectRole UNKNOWN
public static final ProjectRole CASCADE
public static final ProjectRole LAYOUT
public static final ProjectRole MEMBER
public static ProjectRole[] values()
for (ProjectRole c : ProjectRole.values()) System.out.println(c);
public static ProjectRole 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 code()
public static ProjectRole from(String code)
Copyright © 2004-2013 Barchart, Inc.. All Rights Reserved.