---
title: "Planner.Local"
description: "Prepares builds against a locally installed toolchain."
kind: "class"
id: "example.runtime.Planner$Local"
module: "runtime-kit"
version: "1.0"
---

# ◆ Planner.Local

## API at a glance

- Local(Planner.Options): Uses explicit planning options.
- Local(Target): Uses the supplied target with quiet progress.
- target(): Identifies the runtime for prepared plans. Returns the selected target
- runtime(): Deprecated. Use target(). Returns the configured runtime. Returns the selected target

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

Class in [`example.runtime`](index.md). Nested in [`Planner`](Planner.md).

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

Inheritance: `Object` > [`Planner`](Planner.md) > `Local`

Prepares builds against a locally installed toolchain.

**See also**

- [Prepare your first build](../../guides/prepare-a-build.md)

## Constructors

### Local(Planner.Options)

```java
public Local(Planner.Options options)
```

Uses explicit planning options.

**Parameters**

- `options` [`Planner.Options`](Planner.Options.md): runtime and progress settings

### Local(Target)

```java
public Local(Target target)
```

Uses the supplied target with quiet progress.

**Parameters**

- `target` [`Target`](Target.md): the runtime

## Methods

### target()

```java
public Target target()
```

Identifies the runtime for prepared plans.

Description copied from [`target()`](Planner.md#target%28%29).

**→ Returns** [`Target`](Target.md): the selected target

Overrides [`target()`](Planner.md#target%28%29).

### runtime()

```java
@Deprecated(since = "1.0")
public Target runtime()
```

> **⊘ Deprecated since 1.0.**
>
> Use [`target()`](Planner.Local.md#target%28%29).

Returns the configured runtime.

**→ Returns** [`Target`](Target.md): the selected target

## Inherited members

- From class [`Planner`](Planner.md): [`prepare`](Planner.md#prepare%28example.runtime.BuildPlan%29)
- From class `Object`: `equals`, `getClass`, `hashCode`, `notify`, `notifyAll`, `toString`, `wait`, `wait`, `wait`
