public static enum PollenUserSecurityContext.PollenUserSecurityRole extends Enum<PollenUserSecurityContext.PollenUserSecurityRole>
Enum Constant and Description |
---|
CREATOR
Creator of the poll.
|
RESTRICTED_VOTER
A user that was invited to a restricted poll.
|
VOTER
A user that has voted on a poll.
|
Modifier and Type | Method and Description |
---|---|
static PollenUserSecurityContext.PollenUserSecurityRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollenUserSecurityContext.PollenUserSecurityRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollenUserSecurityContext.PollenUserSecurityRole CREATOR
public static final PollenUserSecurityContext.PollenUserSecurityRole VOTER
public static final PollenUserSecurityContext.PollenUserSecurityRole RESTRICTED_VOTER
public static PollenUserSecurityContext.PollenUserSecurityRole[] values()
for (PollenUserSecurityContext.PollenUserSecurityRole c : PollenUserSecurityContext.PollenUserSecurityRole.values()) System.out.println(c);
public static PollenUserSecurityContext.PollenUserSecurityRole 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 © 2009–2014 CodeLutin. All rights reserved.