Class TemporaryVariableMigration
java.lang.Object
io.camunda.zeebe.engine.state.migration.TemporaryVariableMigration
- All Implemented Interfaces:
MigrationTask
Reads out the temporary variable column and creates an EventTrigger for reach of them.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns identifier for the migration task.boolean
needsToRun
(ZeebeState zeebeState) Returns whether the migration needs to runvoid
runMigration
(MutableZeebeState zeebeState) Implementations of this method perform the actual migration
-
Constructor Details
-
TemporaryVariableMigration
public TemporaryVariableMigration()
-
-
Method Details
-
getIdentifier
Description copied from interface:MigrationTask
Returns 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:
getIdentifier
in interfaceMigrationTask
- Returns:
- identifier for the migration task
-
needsToRun
Description copied from interface:MigrationTask
Returns whether the migration needs to run- Specified by:
needsToRun
in interfaceMigrationTask
- Parameters:
zeebeState
- the immutable Zeebe state- Returns:
- whether the migration needs to run
-
runMigration
Description copied from interface:MigrationTask
Implementations of this method perform the actual migration- Specified by:
runMigration
in interfaceMigrationTask
- Parameters:
zeebeState
- the mutable Zeebe state
-