Class TaskStepLoader
java.lang.Object
wtf.ranked.hytale.server.runner.step.TaskStepLoader
Orchestrator that transforms a list of Step classes into a linked Gradle task chain.
It registers each TaskStep as an internal task and uses a reduction
algorithm to ensure that each step depends on the one preceding it,
effectively creating a sequential execution queue.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetup(GlobalRunningTask runningTask) Configures the task dependencies for a given Global task to create a sequential execution pipeline.
-
Constructor Details
-
TaskStepLoader
public TaskStepLoader()
-
-
Method Details
-
setup
Configures the task dependencies for a given Global task to create a sequential execution pipeline.This method:
- Resolves all build dependencies and internal steps into a single ordered list.
- Links the task chain so that each step depends on the preceding one (Step A -> Step B).
- Ensures the
GlobalRunningTaskexecutes only after the entire chain completes.
-