public enum PublishedState extends Enum<PublishedState>
| Enum Constant and Description |
|---|
PUBLISHED
Once a survey moves to a published state, no further changes should be allowed to the content of the survey.
|
UNPUBLISHED
Default state of any new survey.
|
| Modifier and Type | Method and Description |
|---|---|
static PublishedState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublishedState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublishedState UNPUBLISHED
public static final PublishedState PUBLISHED
public static PublishedState[] values()
for (PublishedState c : PublishedState.values()) System.out.println(c);
public static PublishedState 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 nullCopyright © 2016 Jasig. All rights reserved.