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.StringINVALID_OR_MISSING_QUALIFIERSstatic java.lang.StringMISSING_VERSIONstatic java.lang.StringMISSING_VERSIONS
-
Constructor Summary
Constructors Constructor Description IndexObjectGroupActionPlugin()IndexObjectGroupActionPlugin(MetaDataClientFactory metaDataClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckMandatoryIOParameter(HandlerIO handler)Check mandatory parameterItemStatusexecute(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:WorkerActionExecute an action- Parameters:
params-WorkerParametersparam- 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:WorkerActionCheck mandatory parameter- Parameters:
handler- input output list- Throws:
ProcessingException- when handler io is not complete
-
-