Class RuntimeMigrator

java.lang.Object
io.camunda.migrator.RuntimeMigrator

@Component public class RuntimeMigrator extends Object
  • Field Details

  • Constructor Details

    • RuntimeMigrator

      public RuntimeMigrator()
  • Method Details

    • start

      public void start()
    • migrate

      protected void migrate()
    • getSkipReason

      protected String getSkipReason(String c7ProcessInstanceId)
    • shouldStartProcessInstance

      protected boolean shouldStartProcessInstance(String c7ProcessInstanceId)
    • isUnknown

      protected boolean isUnknown(String c7ProcessInstanceId)
    • startProcessInstance

      protected void startProcessInstance(String c7ProcessInstanceId, Date createTime)
    • handleVariableInterceptorException

      protected void handleVariableInterceptorException(VariableInterceptorException e, String c7ProcessInstanceId, Date createTime)
    • saveRecord

      protected void saveRecord(String c7ProcessInstanceId, Date createTime, Long processInstanceKey)
    • fetchProcessInstancesToMigrate

      protected void fetchProcessInstancesToMigrate(Consumer<IdKeyDbModel> storeMappingConsumer)
    • startNewProcessInstance

      protected Long startNewProcessInstance(String c7ProcessInstanceId) throws VariableInterceptorException
      Throws:
      VariableInterceptorException
    • activateMigratorJobs

      protected void activateMigratorJobs()
    • setMode

      public void setMode(MigratorMode mode)