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
,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
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
-
-
-