public enum QuestionRestriction extends Enum<QuestionRestriction>
| Enum Constant and Description |
|---|
DoesNotContainPassword
Enumeration : DoesNotContainPassword
|
None
Enumeration : None
|
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
valuesToEnums |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static QuestionRestriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuestionRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuestionRestriction None
public static final QuestionRestriction DoesNotContainPassword
public static QuestionRestriction[] values()
for (QuestionRestriction c : QuestionRestriction.values()) System.out.println(c);
public static QuestionRestriction 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<QuestionRestriction>Copyright © 2015. All Rights Reserved.