---
title: "Planner.Local"
description: "Prepares builds against a locally installed toolchain."
kind: "class"
id: "example.runtime.Planner$Local"
module: "runtime-kit"
version: "1.0"
canonical: "https://elide-dev.github.io/doclet/link-previews/example/runtime/Planner.Local.html"
---

# ◆ Planner.Local

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

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

```java
@Experimental
public static final class Planner.Local extends Planner
```

Inheritance: [`Object`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html) > [`Planner`](Planner.md) > `Local`

Prepares builds against a locally installed toolchain.

**See also**

- Prepare your first build

## Constructors

### Local(Planner.Options)
<a id="&lt;init&gt;(example.runtime.Planner.Options)"></a>`public Local(Planner.Options options)`. Uses explicit planning options. Cite: `example/runtime/Planner.Local.html#<init>(example.runtime.Planner.Options)`
Parameters: `options` `Planner.Options` (non-null, implied by @NullMarked on package example.runtime): runtime and progress settings.

### Local(Target)
<a id="&lt;init&gt;(example.runtime.Target)"></a>`public Local(Target target)`. Uses the supplied target with quiet progress. Cite: `example/runtime/Planner.Local.html#<init>(example.runtime.Target)`
Parameters: `target` `Target` (non-null, implied by @NullMarked on package example.runtime): the runtime.

## Methods

### target()
<a id="target()"></a>`public Target target()`. Identifies the runtime for prepared plans. Cite: `example/runtime/Planner.Local.html#target()`
Description copied from `target()`.
Returns `Target` (non-null, implied by @NullMarked on package example.runtime): the selected target.
Overrides `target()`.

### runtime()
<a id="runtime()"></a>`@Deprecated(since = "1.0") public Target runtime()`. Deprecated since 1.0. Cite: `example/runtime/Planner.Local.html#runtime()`
Use `target()`.
Returns the configured runtime.
Returns `Target` (non-null, implied by @NullMarked on package example.runtime): the selected target.

## Inherited members

- From class [`Planner`](Planner.md): [`prepare`](Planner.md#prepare%28example.runtime.BuildPlan%29)
- From class [`Object`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html): [`equals`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#equals%28java.lang.Object%29), [`getClass`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#getClass%28%29), [`hashCode`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#hashCode%28%29), [`notify`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#notify%28%29), [`notifyAll`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#notifyAll%28%29), [`toString`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#toString%28%29), [`wait`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#wait%28%29), [`wait`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#wait%28long%29), [`wait`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#wait%28long,int%29)
