Enum ExternalRepositoryRetrieveNewToken
- java.lang.Object
-
- java.lang.Enum<ExternalRepositoryRetrieveNewToken>
-
- com.blackberry.workspaces.sdk.api.enums.ExternalRepositoryRetrieveNewToken
-
- All Implemented Interfaces:
Serializable
,Comparable<ExternalRepositoryRetrieveNewToken>
public enum ExternalRepositoryRetrieveNewToken extends Enum<ExternalRepositoryRetrieveNewToken>
An enum of values for whether to retrieve a new token for an external repository
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExternalRepositoryRetrieveNewToken
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExternalRepositoryRetrieveNewToken[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO
public static final ExternalRepositoryRetrieveNewToken NO
No- do not retrieve a new token
-
YES
public static final ExternalRepositoryRetrieveNewToken YES
Yes- retrieve a new token
-
-
Method Detail
-
values
public static ExternalRepositoryRetrieveNewToken[] 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 (ExternalRepositoryRetrieveNewToken c : ExternalRepositoryRetrieveNewToken.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalRepositoryRetrieveNewToken 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
-
-