Planner.Options
public record Planner.Options(Target target, Planner.Options.Detail detail)- Enclosing type
Planner
Configuration for Local, including how to report progress.
Record components
targetnon-null (implied) by @NullMarked on package example.runtime- the runtime
detailnon-null (implied) by @NullMarked on package example.runtime- the amount of progress to report
See also
- Prepare your first build
Nested types
public enum .DetailControls progress while preparing a plan.
Constructors1
public Options(Target target, Planner.Options.Detail detail)
public Options(Target target, Planner.Options.Detail detail)Creates a new Options instance.
Parameters
targetnon-null (implied) by @NullMarked on package example.runtime- the runtime
detailnon-null (implied) by @NullMarked on package example.runtime- the amount of progress to report
Methods5
public final String toString()
public final String toString()Returns a string containing the record class name and its component names and values.
Returns
- non-null (implied) by @NullMarked on package example.runtime
Overrides toString().
public final int hashCode()
public final int hashCode()public final boolean equals(Object o)
public final boolean equals(Object o)Returns whether the other object is a record of the same class with equal components.
Parameters
onullable (implied) by JSpecify’s rule for record equals(Object)- The object to compare with this record.
Overrides equals(java.lang.Object).
public Target target()
public Target target()public Planner.Options.Detail detail()
public Planner.Options.Detail detail()the amount of progress to report
Returns
- non-null (implied) by @NullMarked on package example.runtime