Package fr.gouv.vitam.worker.client
Interface WorkerClient
- All Superinterfaces:
AutoCloseable,MockOrRestClient,VitamAutoCloseable
Worker Client interface
-
Method Summary
Methods inherited from interface fr.gouv.vitam.common.client.MockOrRestClient
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrl
-
Method Details
-
submitStep
ItemStatus submitStep(DescriptionStep step) throws WorkerNotFoundClientException, WorkerServerClientException, ProcessingRetryAsyncException add a step to the worker- Parameters:
step- the new step- Returns:
- List of EngineResponse
EngineResponse: list of action response {OK,KO,FATAL...} - Throws:
WorkerNotFoundClientException- if the Server got a NotFound resultWorkerServerClientException- if the Server got an internal errorProcessingRetryAsyncException- if the server asked for an asynchronous resource should execution should be retried when the resource is available
-