public enum ActorType extends Enum<ActorType>
Enum Constant and Description |
---|
APP
A Cloud Foundry application entity.
|
OAUTH_CLIENT
A UAA client entity, as can be used with a client credentials grant.
|
USER
A UAA user entity, as can be used with a password grant.
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
Get the entity type.
|
String |
toString() |
static ActorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActorType APP
public static final ActorType USER
public static final ActorType OAUTH_CLIENT
public static ActorType[] values()
for (ActorType c : ActorType.values()) System.out.println(c);
public static ActorType 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 getType()