public interface WorkerAction
| Modifier and Type | Method and Description |
|---|---|
default void |
checkMandatoryIOParameter(HandlerIO handler)
Check mandatory parameter
|
default ItemStatus |
execute(WorkerParameters param,
HandlerIO handler)
Execute an action
|
default List<ItemStatus> |
executeList(WorkerParameters workerParameters,
HandlerIO handler) |
default ItemStatus execute(WorkerParameters param, HandlerIO handler) throws ProcessingException, ContentAddressableStorageServerException
param - WorkerParametershandler - the handlerIoProcessingException - if an error is encountered when executing the actionContentAddressableStorageServerException - if a storage exception is encountered when executing the actiondefault List<ItemStatus> executeList(WorkerParameters workerParameters, HandlerIO handler) throws ProcessingException, ContentAddressableStorageServerException
workerParameters - handler - ProcessingExceptionContentAddressableStorageServerExceptiondefault void checkMandatoryIOParameter(HandlerIO handler) throws ProcessingException
handler - input output listProcessingException - when handler io is not completeCopyright © 2021 Vitam. All rights reserved.