public enum CreateAppSubject extends Enum<CreateAppSubject>
| Enum Constant and Description |
|---|
ADMIN
Only allow space administrators to create apps in the space.
|
EVERYONE
Allow everyone to create apps in the space.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateAppSubject |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateAppSubject[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateAppSubject EVERYONE
public static final CreateAppSubject ADMIN
public static CreateAppSubject[] values()
for (CreateAppSubject c : CreateAppSubject.values()) System.out.println(c);
public static CreateAppSubject 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 null