---
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"
---

# Planner.Options

## API at a glance

- target: the runtime
- detail: the amount of progress to report
- toString(): Returns a string containing the record class name and its component names and values.
- hashCode(): Returns a hash code computed from the record components.
- equals(Object): Returns whether the other object is a record of the same class with equal components.
- target(): the runtime
- detail(): the amount of progress to report

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

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

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

Inheritance: `Object` > `Record` > `Options`

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

**Record components**

- `target` [`Target`](Target.md): the runtime
- `detail` [`Planner.Options.Detail`](Planner.Options.Detail.md): the amount of progress to report

**See also**

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

## Nested types

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

## Constructors

### Options(Target, Planner.Options.Detail)

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

Declared by the compiler.

Creates a new Options instance.

**Parameters**

- `target` [`Target`](Target.md): the runtime
- `detail` [`Planner.Options.Detail`](Planner.Options.Detail.md): the amount of progress to report

## Methods

### toString()

```java
public final String toString()
```

Returns a string containing the record class name and its component names and values.

**Returns** `String`: Returns a string containing the record class name and its component names and values.

Overrides `toString()`.

### hashCode()

```java
public final int hashCode()
```

Returns a hash code computed from the record components.

**Returns** `int`: Returns a hash code computed from the record components.

Overrides `hashCode()`.

### equals(Object)

```java
public final boolean equals(Object o)
```

Returns whether the other object is a record of the same class with equal components.

**Parameters**

- `o` `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()

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

the runtime

**Returns** [`Target`](Target.md): the runtime

### detail()

```java
public Planner.Options.Detail detail()
```

the amount of progress to report

**Returns** [`Planner.Options.Detail`](Planner.Options.Detail.md): the amount of progress to report

## Inherited members

- From class `Object`: `getClass`, `notify`, `notifyAll`, `wait`, `wait`, `wait`
