Enum ExternalRepositoryCloudStatus
- java.lang.Object
-
- java.lang.Enum<ExternalRepositoryCloudStatus>
-
- com.blackberry.workspaces.sdk.api.enums.ExternalRepositoryCloudStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ExternalRepositoryCloudStatus>
public enum ExternalRepositoryCloudStatus extends Enum<ExternalRepositoryCloudStatus>
An enum of values for external repository cloud status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATION_ERROR
Authentication errorDISCONNECTED
DisconnectedINITIAL_SYNC_ERROR
Initial sync errorOK
OKSYNCING
Syncing
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExternalRepositoryCloudStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExternalRepositoryCloudStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final ExternalRepositoryCloudStatus OK
OK
-
SYNCING
public static final ExternalRepositoryCloudStatus SYNCING
Syncing
-
AUTHENTICATION_ERROR
public static final ExternalRepositoryCloudStatus AUTHENTICATION_ERROR
Authentication error
-
INITIAL_SYNC_ERROR
public static final ExternalRepositoryCloudStatus INITIAL_SYNC_ERROR
Initial sync error
-
DISCONNECTED
public static final ExternalRepositoryCloudStatus DISCONNECTED
Disconnected
-
-
Method Detail
-
values
public static ExternalRepositoryCloudStatus[] 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 (ExternalRepositoryCloudStatus c : ExternalRepositoryCloudStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalRepositoryCloudStatus 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
-
-