Package fr.gouv.vitam.worker.core.plugin
Class IndexObjectGroupActionPlugin
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- fr.gouv.vitam.worker.core.plugin.IndexObjectGroupActionPlugin
-
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,java.lang.AutoCloseable
public class IndexObjectGroupActionPlugin extends ActionHandler
IndexObjectGroupAction Plugin
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
INVALID_OR_MISSING_QUALIFIERS
static java.lang.String
MISSING_VERSION
static java.lang.String
MISSING_VERSIONS
-
Constructor Summary
Constructors Constructor Description IndexObjectGroupActionPlugin()
IndexObjectGroupActionPlugin(MetaDataClientFactory metaDataClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkMandatoryIOParameter(HandlerIO handler)
Check mandatory parameterItemStatus
execute(WorkerParameters params, HandlerIO param)
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
-
-
-
-
Field Detail
-
INVALID_OR_MISSING_QUALIFIERS
public static final java.lang.String INVALID_OR_MISSING_QUALIFIERS
- See Also:
- Constant Field Values
-
MISSING_VERSIONS
public static final java.lang.String MISSING_VERSIONS
- See Also:
- Constant Field Values
-
MISSING_VERSION
public static final java.lang.String MISSING_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IndexObjectGroupActionPlugin
public IndexObjectGroupActionPlugin()
-
IndexObjectGroupActionPlugin
public IndexObjectGroupActionPlugin(MetaDataClientFactory metaDataClientFactory)
-
-
Method Detail
-
executeList
public java.util.List<ItemStatus> executeList(WorkerParameters workerParameters, HandlerIO handler) throws ProcessingException
- Returns:
- Throws:
ProcessingException
-
execute
public ItemStatus execute(WorkerParameters params, HandlerIO param)
Description copied from interface:WorkerAction
Execute an action- Parameters:
params
-WorkerParameters
param
- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
-
checkMandatoryIOParameter
public void checkMandatoryIOParameter(HandlerIO handler) throws ProcessingException
Description copied from interface:WorkerAction
Check mandatory parameter- Parameters:
handler
- input output list- Throws:
ProcessingException
- when handler io is not complete
-
-