Package fr.gouv.vitam.worker.client
Interface WorkerClient
-
- All Superinterfaces:
java.lang.AutoCloseable
,MockOrRestClient
,VitamAutoCloseable
public interface WorkerClient extends MockOrRestClient
Worker Client interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ItemStatus
submitStep(DescriptionStep step)
add a step to the worker-
Methods inherited from interface fr.gouv.vitam.common.client.MockOrRestClient
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrl
-
-
-
-
Method Detail
-
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
-
-