public interface IRequest
Modifier and Type | Method and Description |
---|---|
java.lang.String |
call() |
IClient |
client()
Returns the client initiating the request.
|
void |
fail(java.lang.String reasonCode,
java.lang.String errMessage)
Marks the request as failed.
|
NCMap |
params()
Returns the request parameters.
|
NCMap |
results()
Returns the results map.
|
void |
setProgress(java.lang.String taskname,
double progress)
Update progress information for this request [0.0 ...
|
boolean |
succeeded()
Returns true if the request was processed successfully.
|
java.lang.String call()
NCMap params()
NCMap results()
IClient client()
boolean succeeded()
IHostDelegate#execute(IRequest)
method throws an exception.void fail(java.lang.String reasonCode, java.lang.String errMessage)
reasonCode
- - error codeerrMessage
- - error messagevoid setProgress(java.lang.String taskname, double progress) throws ServiceAbortException
taskname
- the task currently being performedprogress
- the new progress value [0.0 ... 1.0]ServiceAbortException
- if the request was abortedCopyright © 2010 - 2020 Adobe. All Rights Reserved