public class ExtractSedaActionHandler extends ActionHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_SIZE |
static int |
OG_ID_TO_GUID_IO_MEMORY_RANK |
static int |
OG_ID_TO_UNID_ID_IO_RANK |
static String |
RULES |
static String |
UPDATE_EXISTING_GOT_WHEN_LINK_AU |
| Constructor and Description |
|---|
ExtractSedaActionHandler()
Constructor with parameter SedaUtilsFactory
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkMandatoryIOParameter(HandlerIO handler)
Check mandatory parameter
|
ItemStatus |
execute(WorkerParameters params,
HandlerIO ioParam)
Execute an action
|
com.fasterxml.jackson.databind.node.ObjectNode |
extractSEDA(LogbookLifeCyclesClient logbookLifeCycleClient,
WorkerParameters params,
ItemStatus globalCompositeItemStatus,
UnitType workflowUnitType)
Split Element from InputStream and write it to workspace
|
HandlerIO |
getHandlerIO() |
static String |
getId() |
checkMandatoryParameters, close, updateDetailItemStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlfcHandledInternallypublic static final int OG_ID_TO_UNID_ID_IO_RANK
public static final int OG_ID_TO_GUID_IO_MEMORY_RANK
public static final int BATCH_SIZE
public static final String RULES
public static final String UPDATE_EXISTING_GOT_WHEN_LINK_AU
public ExtractSedaActionHandler()
public static final String getId()
public HandlerIO getHandlerIO()
public ItemStatus execute(WorkerParameters params, HandlerIO ioParam)
WorkerActionparams - WorkerParametersioParam - the handlerIopublic com.fasterxml.jackson.databind.node.ObjectNode extractSEDA(LogbookLifeCyclesClient logbookLifeCycleClient, WorkerParameters params, ItemStatus globalCompositeItemStatus, UnitType workflowUnitType) throws ProcessingException, CycleFoundException
logbookLifeCycleClient - params - parameters of workspace serverglobalCompositeItemStatus - the global statusworkflowUnitType - ProcessingException - throw when can't read or extract element from SEDACycleFoundException - when a cycle is found in data extractpublic void checkMandatoryIOParameter(HandlerIO handler) throws ProcessingException
WorkerActionhandler - input output listProcessingException - when handler io is not completeCopyright © 2018 Vitam. All rights reserved.