Runtime Kit API1.0
All types

BuildStep

Javainterfacein example.runtimenull-markedSource

@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

See also

  • Write a preparation step
  • Feature tour

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