Class ActionHandler
- java.lang.Object
-
- fr.gouv.vitam.worker.core.handler.ActionHandler
-
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,java.lang.AutoCloseable
- Direct Known Subclasses:
AbstractAccessionRegisterAction
,AbstractGraphComputePlugin
,ArchiveUnitRulesUpdateActionPlugin
,AuditCheckObjectPlugin
,AuditFinalizePlugin
,AuditPreparePlugin
,BuildTraceabilityActionPlugin
,BulkAtomicUpdateFinalize
,CheckArchiveProfileActionHandler
,CheckArchiveProfileRelationActionHandler
,CheckArchiveUnitProfileActionPlugin
,CheckArchiveUnitSchemaActionPlugin
,CheckAtrAndAddItToWorkspacePlugin
,CheckAttachementActionHandler
,CheckClassificationLevelActionPlugin
,CheckConcurrentWorkflowLockHandler
,CheckConformityActionPlugin
,CheckDataObjectPackageActionHandler
,CheckDistributionThresholdBase
,CheckHeaderActionHandler
,CheckIngestContractActionHandler
,CheckNoObjectsActionHandler
,CheckObjectSizeActionPlugin
,CheckObjectsNumberActionHandler
,CheckObjectUnitConsistencyActionHandler
,CheckOriginatingAgencyHandler
,CheckQueriesThreshold
,CheckSedaActionHandler
,ChecksSecureTraceabilityDataHashesPlugin
,ChecksSecureTraceabilityDataStoragelogPlugin
,CheckStorageAvailabilityActionHandler
,CheckVersionActionHandler
,CommitLifeCycleActionHandler
,ComputeInheritedRuleProgenyIdentifierPlugin
,ComputeInheritedRulesActionPlugin
,ComputeInheritedRulesDeletePlugin
,ComputeInheritedRulesFinalizationPlugin
,ComputeInheritedRulesInvalidatorPlugin
,ComputeInheritedRulesPreparationPlugin
,CreateManifest
,DataCorrectionFinalize
,DataRectificationStep
,DummyHandler
,EliminationActionFinalizationHandler
,EliminationActionReportGenerationHandler
,EliminationActionUnitPreparationHandler
,EliminationAnalysisFinalizationHandler
,EliminationAnalysisPreparationHandler
,EliminationAnalysisUnitIndexationPlugin
,EliminationCheckDistributionThresholdBase
,EvidenceAuditDatabaseCheck
,EvidenceAuditExtractFromZip
,EvidenceAuditFinalize
,EvidenceAuditGenerateReports
,EvidenceAuditListSecuredFiles
,EvidenceAuditPrepare
,EvidenceAuditPrepareReport
,ExtractSecureTraceabilityDataFilePlugin
,ExtractSedaActionHandler
,FinalizeLifecycleTraceabilityActionPlugin
,FormatIdentificationActionPlugin
,GenerateLifecycleTraceabilityActionPlugin
,HelloWorldPlugin
,IndexObjectGroupActionPlugin
,IndexUnitActionPlugin
,IngestCleanupDeleteUnitPlugin
,IngestCleanupEligibilityValidationPlugin
,IngestCleanupFinalizationPlugin
,IngestCleanupPreparationPlugin
,IngestCleanupRequestValidationPlugin
,IngestPrepareActionHandler
,ListArchiveUnitsActionHandler
,ListRunningIngestsActionHandler
,MassUpdateCheck
,MassUpdateFinalize
,MassUpdateRulesCheck
,MigrationFinalize
,MigrationObjectGroupPrepare
,MigrationObjectGroups
,MigrationUnitPrepare
,MigrationUnits
,PrepareBulkAtomicUpdate
,PrepareLfcTraceabilityActionPlugin
,PrepareStorageInfoActionHandler
,PrepareStorageStrategiesPlugin
,PrepareTraceabilityCheckProcessActionHandler
,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
,RevertUpdateUnitFinalizePlugin
,RollBackActionHandler
,RunningIngestsUpdateActionPlugin
,SaveAtrPlugin
,StoreExports
,StoreMetaDataObjectGroupActionPlugin
,StoreMetaDataUnitActionPlugin
,StoreObjectActionHandler
,TraceabilityFinalizationPlugin
,TraceabilityLinkedCheckPreparePlugin
,TransferNotificationActionHandler
,TransferReplyDeleteSIP
,TransferReplyFinalizationPlugin
,TransferReplyReportGenerationHandler
,TransferReplyUnitPreparationHandler
,UnitAttachmentPlugin
,UnitDetachmentPlugin
,UnitMetadataRulesUpdateCheckConsistency
,UnitsRulesComputePlugin
,UpdateObjectGroupPlugin
,UploadSIPActionHandler
,VerifyAtrPlugin
,VerifyMerkleTreeActionHandler
,VerifyTimeStampActionHandler
public abstract class ActionHandler extends java.lang.Object implements WorkerAction, VitamAutoCloseable
ActionHandler abstract class of interface Action
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
Constructors Constructor Description ActionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkMandatoryParameters(WorkerParameters parameters)
Check mandatory parametersvoid
close()
void
updateDetailItemStatus(ItemStatus globalCompositeItemStatus, java.lang.String value, java.lang.String globalOutcomeDetailSubCode)
Update a detail item status-
Methods 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
-
-
-
-
Method Detail
-
checkMandatoryParameters
public void checkMandatoryParameters(WorkerParameters parameters)
Check mandatory parameters- Parameters:
parameters
- parameter to check- Throws:
java.lang.IllegalArgumentException
- thrown when a mandatory parameter is null or empty
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceVitamAutoCloseable
-
updateDetailItemStatus
public void updateDetailItemStatus(ItemStatus globalCompositeItemStatus, java.lang.String value, java.lang.String globalOutcomeDetailSubCode)
Update a detail item status- Parameters:
globalCompositeItemStatus
-value
-globalOutcomeDetailSubCode
-
-
-