Java OSSruntime-kit 1.0
All types

BuildStep

Javainterfacein example.runtime

@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)

prepare

T prepare(BuildPlan plan) throws PlanException

Prepares an artifact without executing the application.

Parameters

planBuildPlan
the input configuration

Returns

T
the prepared artifact

Throws

PlanException
if the configuration cannot be prepared