Enum ApiDocumentFilter
- java.lang.Object
-
- java.lang.Enum<ApiDocumentFilter>
-
- com.blackberry.workspaces.sdk.api.enums.ApiDocumentFilter
-
- All Implemented Interfaces:
Serializable
,Comparable<ApiDocumentFilter>
public enum ApiDocumentFilter extends Enum<ApiDocumentFilter>
An enum of API file filters
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOUT_TO_EXPIRE
not supportedALL
AllHIDDEN
HiddenRECENTLY_MODIFIED
Recently modifiedRECENTLY_VIEWED
not supportedSHARED_BY_ME
Shared by meSHARED_WITH_ME
Shared with meVALID_ONLY
Valid only
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApiDocumentFilter
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApiDocumentFilter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final ApiDocumentFilter ALL
All
-
RECENTLY_MODIFIED
public static final ApiDocumentFilter RECENTLY_MODIFIED
Recently modified
-
SHARED_WITH_ME
public static final ApiDocumentFilter SHARED_WITH_ME
Shared with me
-
ABOUT_TO_EXPIRE
public static final ApiDocumentFilter ABOUT_TO_EXPIRE
not supported
-
SHARED_BY_ME
public static final ApiDocumentFilter SHARED_BY_ME
Shared by me
-
RECENTLY_VIEWED
public static final ApiDocumentFilter RECENTLY_VIEWED
not supported
-
HIDDEN
public static final ApiDocumentFilter HIDDEN
Hidden
-
VALID_ONLY
public static final ApiDocumentFilter VALID_ONLY
Valid only
-
-
Method Detail
-
values
public static ApiDocumentFilter[] 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 (ApiDocumentFilter c : ApiDocumentFilter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApiDocumentFilter 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
-
-