Class DecisionRequirementsMigration
java.lang.Object
io.camunda.zeebe.engine.state.migration.to_8_2.DecisionRequirementsMigration
- All Implemented Interfaces:
MigrationTask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns identifier for the migration task.booleanneedsToRun(MigrationTaskContext context) Returns whether the migration needs to run.voidrunMigration(MutableMigrationTaskContext context) Implementations of this method perform the actual migration
-
Constructor Details
-
DecisionRequirementsMigration
public DecisionRequirementsMigration()
-
-
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
-
needsToRun
Description copied from interface:MigrationTaskReturns whether the migration needs to run.- Specified by:
needsToRunin interfaceMigrationTask
-
runMigration
Description copied from interface:MigrationTaskImplementations of this method perform the actual migration- Specified by:
runMigrationin interfaceMigrationTask
-