Enum RequestStatusState
- java.lang.Object
- 
- java.lang.Enum<RequestStatusState>
- 
- org.apache.solr.client.solrj.response.RequestStatusState
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<RequestStatusState>
 
 public enum RequestStatusState extends Enum<RequestStatusState> Represents the state of an asynchronous request.- See Also:
- CollectionAdminRequest.RequestStatus
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestStatusStatefromKey(String key)Resolves a key that was returned fromgetKey()to aRequestStatusState.StringgetKey()Returns the string representation of this state, for using as a key.static RequestStatusStatevalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
COMPLETEDpublic static final RequestStatusState COMPLETED The request was completed.
 - 
FAILEDpublic static final RequestStatusState FAILED The request has failed.
 - 
RUNNINGpublic static final RequestStatusState RUNNING The request is in progress.
 - 
SUBMITTEDpublic static final RequestStatusState SUBMITTED The request was submitted, but has not yet started.
 - 
NOT_FOUNDpublic static final RequestStatusState NOT_FOUND The request Id was not found.
 
- 
 - 
Method Detail- 
valuespublic static RequestStatusState[] 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 (RequestStatusState c : RequestStatusState.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static RequestStatusState 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 name
- NullPointerException- if the argument is null
 
 - 
getKeypublic String getKey() Returns the string representation of this state, for using as a key. For backward compatibility, it returns the lowercase form of the state's name.
 - 
fromKeypublic static RequestStatusState fromKey(String key) Resolves a key that was returned fromgetKey()to aRequestStatusState. For backwards compatibility, it resolves the key "notfound" toNOT_FOUND.
 
- 
 
-