Enum DlpStatus
- java.lang.Object
-
- java.lang.Enum<DlpStatus>
-
- com.blackberry.workspaces.sdk.api.enums.DlpStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<DlpStatus>
public enum DlpStatus extends Enum<DlpStatus>
An enum of DLP status values
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED
AcceptedERROR
ErrorNOT_REQUIRED
Not requiredNOT_SCANNED
Not scannedREJECTED
RejectedSCANNING
ScanningTIMEOUT
Timeout
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DlpStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static DlpStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_SCANNED
public static final DlpStatus NOT_SCANNED
Not scanned
-
SCANNING
public static final DlpStatus SCANNING
Scanning
-
NOT_REQUIRED
public static final DlpStatus NOT_REQUIRED
Not required
-
ERROR
public static final DlpStatus ERROR
Error
-
TIMEOUT
public static final DlpStatus TIMEOUT
Timeout
-
ACCEPTED
public static final DlpStatus ACCEPTED
Accepted
-
REJECTED
public static final DlpStatus REJECTED
Rejected
-
-
Method Detail
-
values
public static DlpStatus[] 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 (DlpStatus c : DlpStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DlpStatus 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
-
-