Class ProcessDefinitionVersionMigration
java.lang.Object
io.camunda.zeebe.engine.state.migration.to_8_3.ProcessDefinitionVersionMigration
- All Implemented Interfaces:
MigrationTask
This migration is used to extend the data we have on process definition versions. We used to keep
track of only a single version. This version was the highest known version of the process
definition.
For resource deletion we need to know all the versions that are available in the state. This migration will make sure we store a list of all known versions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns identifier for the migration task.voidrunMigration(MutableProcessingState processingState) Implementations of this method perform the actual migrationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.engine.state.migration.MigrationTask
needsToRun
-
Constructor Details
-
ProcessDefinitionVersionMigration
public ProcessDefinitionVersionMigration()
-
-
Method Details
-
getIdentifier
Description copied from interface:MigrationTaskReturns identifier for the migration task.The identifier is used for logging.
In the future, it might also be used to store the migrations that were run in persistent state
- Specified by:
getIdentifierin interfaceMigrationTask- Returns:
- identifier for the migration task
-
runMigration
Description copied from interface:MigrationTaskImplementations of this method perform the actual migration- Specified by:
runMigrationin interfaceMigrationTask- Parameters:
processingState- the mutable Zeebe state
-