Enum PermissionRequestTypeExternalInterface
- java.lang.Object
-
- java.lang.Enum<PermissionRequestTypeExternalInterface>
-
- com.blackberry.workspaces.sdk.api.enums.PermissionRequestTypeExternalInterface
-
- All Implemented Interfaces:
Serializable
,Comparable<PermissionRequestTypeExternalInterface>
public enum PermissionRequestTypeExternalInterface extends Enum<PermissionRequestTypeExternalInterface>
An enum of external interface types for permission requests
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT
CommentPRINT
PrintTIME_EXTENSION
Time extensionVIEW
View
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PermissionRequestTypeExternalInterface
valueOf(String name)
Returns the enum constant of this type with the specified name.static PermissionRequestTypeExternalInterface[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIEW
public static final PermissionRequestTypeExternalInterface VIEW
View
-
TIME_EXTENSION
public static final PermissionRequestTypeExternalInterface TIME_EXTENSION
Time extension
-
PRINT
public static final PermissionRequestTypeExternalInterface PRINT
Print
-
COMMENT
public static final PermissionRequestTypeExternalInterface COMMENT
Comment
-
-
Method Detail
-
values
public static PermissionRequestTypeExternalInterface[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PermissionRequestTypeExternalInterface c : PermissionRequestTypeExternalInterface.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermissionRequestTypeExternalInterface valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-