public enum RequestStatusState extends Enum<RequestStatusState>
CollectionAdminRequest.RequestStatus| Enum Constant and Description | 
|---|
| COMPLETEDThe request was completed. | 
| FAILEDThe request has failed. | 
| NOT_FOUNDThe request Id was not found. | 
| RUNNINGThe request is in progress. | 
| SUBMITTEDThe request was submitted, but has not yet started. | 
| Modifier and Type | Method and Description | 
|---|---|
| static RequestStatusState | fromKey(String key)Resolves a key that was returned from  getKey()to aRequestStatusState. | 
| String | getKey()Returns the string representation of this state, for using as a key. | 
| static RequestStatusState | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static RequestStatusState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final RequestStatusState COMPLETED
public static final RequestStatusState FAILED
public static final RequestStatusState RUNNING
public static final RequestStatusState SUBMITTED
public static final RequestStatusState NOT_FOUND
public static RequestStatusState[] values()
for (RequestStatusState c : RequestStatusState.values()) System.out.println(c);
public static RequestStatusState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getKey()
public static RequestStatusState fromKey(String key)
getKey() to a RequestStatusState. For backwards
 compatibility, it resolves the key "notfound" to NOT_FOUND.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.