---
title: "BuildStep"
description: "A named phase in the preparation of a BuildPlan."
kind: "interface"
id: "example.runtime.BuildStep"
module: "runtime-kit"
version: "1.0"
canonical: "https://elide-dev.github.io/doclet/link-previews/example/runtime/BuildStep.html"
---

# ◇ BuildStep

[runtime-kit](../../index.md) › [example.runtime](index.md) · Every page: [llms.txt](../../llms.txt)

Interface in [`example.runtime`](index.md). Reference types generally default to non-null in this null-marked scope.

```java
@FunctionalInterface
public interface BuildStep<T>
```

A named phase in the preparation of a [`BuildPlan`](BuildPlan.md).

**Type parameters**

- `<T>`: the artifact produced by the step

**See also**

- Write a preparation step
- Feature tour

## Methods

### prepare(BuildPlan)
<a id="prepare(example.runtime.BuildPlan)"></a>`T prepare(BuildPlan plan) throws PlanException`. Prepares an artifact without executing the application. Cite: `example/runtime/BuildStep.html#prepare(example.runtime.BuildPlan)`
Parameters: `plan` `BuildPlan` (non-null, implied by @NullMarked on package example.runtime): the input configuration.
Returns `T` (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.
