com.ecebs.rtd.enabler.types.request
Class QueryRequest
java.lang.Object
com.ecebs.rtd.enabler.types.request.QueryRequest
- All Implemented Interfaces:
- Request, Serializable
public class QueryRequest
- extends Object
- implements Request
Request to query the status of one or more registered
requests. Note that currently only specifying one
request is supported.
- Author:
- kyleb
- See Also:
- Serialized Form
Method Summary |
Outcome |
validate()
Validate that the required fields have been set |
QueryRequest
public QueryRequest(QueryMode mode,
String id)
- Specify the request(s) to be queried, and a mode
for the query. Note that currently only specifying
one request is supported
- Parameters:
mode
- The mode for the queryrequestId
- Request ID to be queried
validate
public Outcome validate()
- Description copied from interface:
Request
- Validate that the required fields have been set
- Specified by:
validate
in interface Request
- Returns:
- An outcome if the validation failed, else null
Copyright © 2013 Ecebs Ltd. All Rights Reserved.