Package com.dropbox.core.v2.async
Enum PollEmptyResult
- java.lang.Object
-
- java.lang.Enum<PollEmptyResult>
-
- com.dropbox.core.v2.async.PollEmptyResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PollEmptyResult>
public enum PollEmptyResult extends java.lang.Enum<PollEmptyResult>
Result returned by methods that poll for the status of an asynchronous job. Upon completion of the job, no additional information is returned.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PollEmptyResult.Serializer
For internal use only.
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE
The asynchronous job has completed successfully.IN_PROGRESS
The asynchronous job is still in progress.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PollEmptyResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PollEmptyResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_PROGRESS
public static final PollEmptyResult IN_PROGRESS
The asynchronous job is still in progress.
-
COMPLETE
public static final PollEmptyResult COMPLETE
The asynchronous job has completed successfully.
-
-
Method Detail
-
values
public static PollEmptyResult[] 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 (PollEmptyResult c : PollEmptyResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PollEmptyResult valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-