Runtime Kit API1.0
All types

Planner

Javasealed abstract classin example.runtimesince 1.0null-markedSource

public abstract sealed class Planner implements BuildStep<BuildPlan> permits Planner.Local
Inheritance
  1. Object
  2. Planner
Implements
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

Nested types

Methods2

public abstract Target target()

#Source

Identifies the runtime for prepared plans.

Returns

non-null (implied) by @NullMarked on package example.runtime
the selected target

public BuildPlan prepare(BuildPlan plan) throws PlanException

#Source

Validates 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().

Inherited members