---
title: "Planner.Options"
description: "Configuration for Local, including how to report progress."
kind: "record"
id: "example.runtime.Planner$Options"
module: "runtime-kit"
version: "1.0"
canonical: "https://elide-dev.github.io/doclet/link-previews/example/runtime/Planner.Options.html"
---

# ▤ Planner.Options

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

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

```java
public record Planner.Options(Target target, Planner.Options.Detail detail)
```

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

Configuration for [`Local`](Planner.Local.md), including how to report progress.

**Record components**

- `target` [`Target`](Target.md) (non-null, implied by @NullMarked on package example.runtime): the runtime
- `detail` [`Planner.Options.Detail`](Planner.Options.Detail.md) (non-null, implied by @NullMarked on package example.runtime): the amount of progress to report

**See also**

- Prepare your first build

## Nested types

- [`Planner.Options.Detail`](Planner.Options.Detail.md) (enum class): Controls progress while preparing a plan.

## Constructors

### Options(Target, Planner.Options.Detail)
<a id="&lt;init&gt;(example.runtime.Target,example.runtime.Planner.Options.Detail)"></a>`public Options(Target target, Planner.Options.Detail detail)`. Declared by the compiler. Creates a new Options instance. Cite: `example/runtime/Planner.Options.html#<init>(example.runtime.Target,example.runtime.Planner.Options.Detail)`
Parameters: `target` `Target` (non-null, implied by @NullMarked on package example.runtime): the runtime.
`detail` `Planner.Options.Detail` (non-null, implied by @NullMarked on package example.runtime): the amount of progress to report.

## Methods

### toString()
<a id="toString()"></a>`public final String toString()`. Returns a string containing the record class name and its component names and values. Cite: `example/runtime/Planner.Options.html#toString()`
Returns `String` (non-null, implied by @NullMarked on package example.runtime): Returns a string containing the record class name and its component names and values.
Overrides `toString()`.

### hashCode()
<a id="hashCode()"></a>`public final int hashCode()`. Returns a hash code computed from the record components. Cite: `example/runtime/Planner.Options.html#hashCode()`
Returns `int`: Returns a hash code computed from the record components.
Overrides `hashCode()`.

### equals(Object)
<a id="equals(java.lang.Object)"></a>`public final boolean equals(Object o)`. Returns whether the other object is a record of the same class with equal components. Cite: `example/runtime/Planner.Options.html#equals(java.lang.Object)`
Parameters: `o` `Object` (nullable, implied by JSpecify’s rule for record equals(Object)): The object to compare with this record.
Returns `boolean`: Returns whether the other object is a record of the same class with equal components.
Overrides `equals(java.lang.Object)`.

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

### detail()
<a id="detail()"></a>`public Planner.Options.Detail detail()`. the amount of progress to report. Cite: `example/runtime/Planner.Options.html#detail()`
Returns `Planner.Options.Detail` (non-null, implied by @NullMarked on package example.runtime): the amount of progress to report.

## Inherited members

- From class [`Object`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html): [`getClass`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Object.html#getClass%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), [`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)
