Planner
public abstract sealed class Planner implements BuildStep<BuildPlan> permits Planner.Local - Inheritance
ObjectPlanner
- Permitted subtypes
Validates a BuildPlan before handing it to a BuildStep. Select a Target and call prepare(BuildPlan) to check the entry point.
See also
Planner.Options- Feature tour
Nested types
public static final class .LocalPrepares builds against a locally installed toolchain.
public record .Options(…)Configuration for
Local, including how to report progress.
Methods2
public abstract Target target()
public abstract Target target()public BuildPlan prepare(BuildPlan plan) throws PlanException
public BuildPlan prepare(BuildPlan plan) throws PlanExceptionValidates that the plan names an entry point.
Parameters
plannon-null (implied) by @NullMarked on package example.runtime- configuration to validate
Returns
- non-null (implied) by @NullMarked on package example.runtime
- the validated plan
Throws
PlanException- when the entry point is blank
Overrides prepare().