Runtime Kit API1.0
All types

BuildStep

Javainterfacein example.runtimenull-markedSourceruntime-kit.jar · Java 17 · bytecode 61.0runtime-kit.jar · Java 21 entry · Java 21 · bytecode 65.0runtime-kit.jmod · Java 17 · bytecode 61.0classes-21 (classes) · Java 21 · bytecode 65.0

@FunctionalInterface
public interface BuildStep<T>
Known subtypes

A named phase in the preparation of a BuildPlan.

Type parameters

<T>
the artifact produced by the step

Methods1

T prepare(BuildPlan plan) throws PlanException

#Source

Prepares an artifact without executing the application.

Parameters

plannon-null (implied) by @NullMarked on package example.runtime
the input configuration

Returns

non-null (implied) by the non-null bound of T (@NullMarked on package example.runtime)
the prepared artifact

Throws

PlanException
if the configuration cannot be prepared