public enum MemberType extends Enum<MemberType>
UserMembership| Enum Constant and Description |
|---|
GROUP
Group membership
|
MEMBERSHIP
Group and Role membership
|
ROLE
Role membership
|
USER
User membership
|
| Modifier and Type | Method and Description |
|---|---|
static MemberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberType USER
public static final MemberType GROUP
public static final MemberType ROLE
public static final MemberType MEMBERSHIP
public static MemberType[] values()
for (MemberType c : MemberType.values()) System.out.println(c);
public static MemberType 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 © 2018 Bonitasoft S.A.. All rights reserved.