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()Configures the task dependencies for a given Global task.
-
Constructor Details
-
TaskStepLoader
public TaskStepLoader()
-
-
Method Details
-
setup
public void setup()Configures the task dependencies for a given Global task.This method performs the following:
- Registers each step as a unique task name (GlobalTask + StepName).
- Links tasks: Step B dependsOn Step A.
- Makes the Global task depend on the final step in the chain.
-