Package com.axelor.workflow.migrate
Class WorkflowMigrationService
java.lang.Object
com.axelor.workflow.migrate.WorkflowMigrationService
Applies the operator's decisions: the write half of the parked-run mover. A move is an
operator-fired boundary (
WorkflowWaitService.moveRun); cancel and end reuse the existing
teardowns.
The client is not the authority on what is legal. Every row is re-derived against a fresh inventory, and stale positions, forbidden targets and foreign run ids are refused.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Long workflowId, Integer targetRevision, List<MigrationRow> rows) Applies the rows, up toCHUNKruns, and reports what happened.
-
Constructor Details
-
WorkflowMigrationService
public WorkflowMigrationService()
-
-
Method Details
-
apply
Applies the rows, up toCHUNKruns, and reports what happened. Nothing is kept between calls: an already moved run is no longer parked, so Apply again finishes the rest.
-