public static enum AllowedEntity.EntityType extends Enum<AllowedEntity.EntityType>
| Modifier and Type | Method and Description |
|---|---|
static AllowedEntity.EntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllowedEntity.EntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllowedEntity.EntityType IP
public static final AllowedEntity.EntityType ROLE
public static final AllowedEntity.EntityType USER
public static AllowedEntity.EntityType[] values()
for (AllowedEntity.EntityType c : AllowedEntity.EntityType.values()) System.out.println(c);
public static AllowedEntity.EntityType 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 © 2019. All Rights Reserved.