@JsType public enum ActivityResourceType extends Enum<ActivityResourceType> implements ResourceType
ResourceType
interface holding an enumeration with the
different activity types subject to authorization management control.Enum Constant and Description |
---|
EDITOR |
PERSPECTIVE |
POPUP |
SCREEN |
SPLASH |
UNKNOWN
Modifier and Type | Method and Description |
---|---|
String |
getName()
An string representation of this type instance
|
static ActivityResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivityResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityResourceType PERSPECTIVE
public static final ActivityResourceType SCREEN
public static final ActivityResourceType EDITOR
public static final ActivityResourceType POPUP
public static final ActivityResourceType SPLASH
public static ActivityResourceType[] values()
for (ActivityResourceType c : ActivityResourceType.values()) System.out.println(c);
public static ActivityResourceType 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 getName()
ResourceType
getName
in interface ResourceType
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.