Package com.google.appengine.api.search
Class OperationResult
- java.lang.Object
-
- com.google.appengine.api.search.OperationResult
-
- All Implemented Interfaces:
Serializable
public class OperationResult extends Object implements Serializable
The result of an operation involving the search service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OperationResult(StatusCode code, String errorDetail)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StatusCodegetCode()StringgetMessage()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
OperationResult
public OperationResult(StatusCode code, String errorDetail)
- Parameters:
code- the status code of the requesterrorDetail- detailed error message ornull
-
-
Method Detail
-
getCode
public StatusCode getCode()
- Returns:
- the status code
-
getMessage
public String getMessage()
- Returns:
- the detailed message or
null
-
-