Class ActionHandler
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,AutoCloseable
- Direct Known Subclasses:
AbstractAccessionRegisterAction
,AbstractGraphComputePlugin
,ArchiveUnitRulesUpdateActionPlugin
,AuditCheckObjectPlugin
,AuditFinalizePlugin
,AuditPreparePlugin
,BuildTraceabilityActionPlugin
,CheckArchiveProfileActionHandler
,CheckArchiveProfileRelationActionHandler
,CheckArchiveUnitProfileActionPlugin
,CheckArchiveUnitSchemaActionPlugin
,CheckAtrAndAddItToWorkspacePlugin
,CheckAttachementActionHandler
,CheckClassificationLevelActionPlugin
,CheckConcurrentWorkflowLockHandler
,CheckConformityActionPlugin
,CheckDataObjectPackageActionHandler
,CheckDistributionThresholdBase
,CheckHeaderActionHandler
,CheckIngestContractActionHandler
,CheckNoObjectsActionHandler
,CheckObjectGroupSchemaActionPlugin
,CheckObjectSizeActionPlugin
,CheckObjectsNumberActionHandler
,CheckObjectUnitConsistencyActionHandler
,CheckOriginatingAgencyHandler
,CheckQueriesThreshold
,CheckResourceAvailability
,CheckSedaActionHandler
,ChecksSecureTraceabilityDataHashesPlugin
,ChecksSecureTraceabilityDataStoragelogPlugin
,CheckStorageAvailabilityActionHandler
,CheckVersionActionHandler
,CommitLifeCycleActionHandler
,ComputeInheritedRuleProgenyIdentifierPlugin
,ComputeInheritedRulesActionPlugin
,ComputeInheritedRulesDeletePlugin
,ComputeInheritedRulesFinalizationPlugin
,ComputeInheritedRulesInvalidatorPlugin
,ComputeInheritedRulesPreparationPlugin
,CreateManifest
,DataCorrectionFinalize
,DataRectificationStep
,DeleteGotVersionsAccessionRegisterUpdatePlugin
,DeleteGotVersionsActionPlugin
,DeleteGotVersionsFinalizationPlugin
,DeleteGotVersionsPreparationPlugin
,DeleteGotVersionsStoragePlugin
,DeleteGotVersionsStoreMetadataAndLfcPlugin
,DummyHandler
,EliminationActionFinalizationHandler
,EliminationActionUnitPreparationHandler
,EliminationAnalysisFinalizationHandler
,EliminationAnalysisPreparationHandler
,EliminationAnalysisUnitIndexationPlugin
,EliminationCheckDistributionThresholdBase
,EvidenceAuditDatabaseCheck
,EvidenceAuditExtractFromZip
,EvidenceAuditFinalize
,EvidenceAuditGenerateReports
,EvidenceAuditListSecuredFiles
,EvidenceAuditPrepare
,EvidenceAuditPrepareReport
,ExtractSecureTraceabilityDataFilePlugin
,ExtractSedaActionHandler
,FinalizeLifecycleTraceabilityActionPlugin
,FormatIdentificationActionPlugin
,GenerateLifecycleTraceabilityActionPlugin
,GenericReportGenerationHandler
,HelloWorldPlugin
,IndexObjectGroupActionPlugin
,IndexUnitActionPlugin
,IngestCleanupDeleteUnitPlugin
,IngestCleanupEligibilityValidationPlugin
,IngestCleanupFinalizationPlugin
,IngestCleanupPreparationPlugin
,IngestCleanupRequestValidationPlugin
,IngestPrepareActionHandler
,ListArchiveUnitsActionHandler
,ListRunningIngestsActionHandler
,MassUpdateCheck
,MassUpdateRulesCheck
,MigrationFinalize
,MigrationUnitPrepare
,PrepareBulkAtomicUpdate
,PrepareLfcTraceabilityActionPlugin
,PrepareStorageInfoActionHandler
,PrepareStorageStrategiesPlugin
,PrepareUpdateUnits
,PreservationActionPlugin
,PreservationExtractionAUPlugin
,PreservationFinalizationPlugin
,PreservationGenerateBinaryHash
,PreservationInsertionAuMetadata
,PreservationObjectGroupMetadataSecurityChecks
,PreservationPreparationInsertionAuMetadata
,PreservationPreparationPlugin
,PreservationSiegfriedPlugin
,PreservationStorageBinaryPlugin
,PreservationTesseractPlugin
,PreservationUnitMetadataSecurityChecks
,PreservationUpdateObjectGroupPlugin
,ProbativeCreateDistributionFile
,ProbativeCreateReport
,ProbativeCreateReportEntry
,PurgeAccessionRegisterPreparationHandler
,PurgeAccessionRegisterUpdatePlugin
,PurgeDeleteObjectGroupPlugin
,PurgeDetachObjectGroupPlugin
,PurgeObjectGroupPreparationHandler
,PurgeUnitPlugin
,PutBinaryOnWorkspace
,ReclassificationFinalizationHandler
,ReclassificationPreparationCheckGraphHandler
,ReclassificationPreparationCheckHoldRulesHandler
,ReclassificationPreparationLoadRequestHandler
,ReclassificationPreparationUpdateDistributionHandler
,RetrieveSecureTraceabilityDataFilePlugin
,RevertUpdateUnitCheckPlugin
,RollBackActionHandler
,RunningIngestsUpdateActionPlugin
,SaveAtrPlugin
,StoreExports
,StoreMetaDataObjectGroupActionPlugin
,StoreMetaDataUnitActionPlugin
,StoreObjectActionHandler
,TraceabilityFinalizationPlugin
,TraceabilityLinkedCheckPreparePlugin
,TransferNotificationActionHandler
,TransferReplyDeleteSIP
,TransferReplyFinalizationPlugin
,TransferReplyUnitPreparationHandler
,UnitAttachmentPlugin
,UnitDetachmentPlugin
,UnitMetadataRulesUpdateCheckConsistency
,UnitsRulesComputePlugin
,UpdateObjectGroupPlugin
,UpdateUnitFinalize
,UploadSIPActionHandler
,VerifyAtrPlugin
,VerifyMerkleTreeActionHandler
,VerifyTimeStampActionHandler
ActionHandler abstract class of interface Action
Each ActionHandler must implements some public static methods:
Each ActionHandler must implements some public static methods:
// Return the unique Id of this Handler
public static final String getId();
// Later on (not available now), some other methods for Input/Output arguments
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkMandatoryParameters
(WorkerParameters parameters) Check mandatory parametersvoid
close()
void
updateDetailItemStatus
(ItemStatus globalCompositeItemStatus, String value, String globalOutcomeDetailSubCode) Update a detail item statusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface fr.gouv.vitam.worker.core.api.WorkerAction
checkMandatoryIOParameter, execute, executeList
-
Constructor Details
-
ActionHandler
public ActionHandler()
-
-
Method Details
-
checkMandatoryParameters
Check mandatory parameters- Parameters:
parameters
- parameter to check- Throws:
IllegalArgumentException
- thrown when a mandatory parameter is null or empty
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceVitamAutoCloseable
-
updateDetailItemStatus
public void updateDetailItemStatus(ItemStatus globalCompositeItemStatus, String value, String globalOutcomeDetailSubCode) Update a detail item status- Parameters:
globalCompositeItemStatus
-value
-globalOutcomeDetailSubCode
-
-