Class DummyHandler
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.handler.DummyHandler
- All Implemented Interfaces:
VitamAutoCloseable,AutoCloseable
Dummy Handler (for test purpose)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckMandatoryIOParameter(HandlerIO handler) Check mandatory parameterexecute(WorkerParameters param, HandlerIO handler) Execute an actionstatic final StringgetId()Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, executeList, updateDetailItemStatus
-
Constructor Details
-
DummyHandler
public DummyHandler()
-
-
Method Details
-
getId
- Returns:
- HANDLER_ID
-
execute
Description copied from class:ActionHandlerExecute an action- Overrides:
executein classActionHandler- Parameters:
param-WorkerParametershandler- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
- Throws:
ProcessingException- if an error is encountered when executing the action
-
checkMandatoryIOParameter
Description copied from class:ActionHandlerCheck mandatory parameter- Overrides:
checkMandatoryIOParameterin classActionHandler- Parameters:
handler- input output list- Throws:
ProcessingException- when handler io is not complete
-