Class AbstractGraphComputePlugin
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- fr.gouv.vitam.worker.core.plugin.reclassification.AbstractGraphComputePlugin
-
- All Implemented Interfaces:
VitamAutoCloseable,WorkerAction,java.lang.AutoCloseable
- Direct Known Subclasses:
ObjectGroupGraphComputePlugin,UnitGraphComputePlugin
public abstract class AbstractGraphComputePlugin extends ActionHandler
Common implementation of compute graph for UNIT and GOT
-
-
Constructor Summary
Constructors Constructor Description AbstractGraphComputePlugin()AbstractGraphComputePlugin(MetaDataClientFactory metaDataClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckMandatoryIOParameter(HandlerIO handler)Check mandatory parameterItemStatusexecute(WorkerParameters param, HandlerIO handler)Execute an actionjava.util.List<ItemStatus>executeList(WorkerParameters workerParameters, HandlerIO handler)-
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
-
-
-
-
Constructor Detail
-
AbstractGraphComputePlugin
public AbstractGraphComputePlugin()
-
AbstractGraphComputePlugin
public AbstractGraphComputePlugin(MetaDataClientFactory metaDataClientFactory)
-
-
Method Detail
-
execute
public ItemStatus execute(WorkerParameters param, HandlerIO handler) throws ProcessingException
Description copied from interface:WorkerActionExecute an action- 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
-
executeList
public java.util.List<ItemStatus> executeList(WorkerParameters workerParameters, HandlerIO handler)
- Returns:
-
checkMandatoryIOParameter
public void checkMandatoryIOParameter(HandlerIO handler) throws ProcessingException
Description copied from interface:WorkerActionCheck mandatory parameter- Parameters:
handler- input output list- Throws:
ProcessingException- when handler io is not complete
-
-