{"schema":"apidocs/1","module":{"name":"runtime-kit","version":"1.0","languages":["java"],"doc":{"summary":[{"kind":"text","text":"Plan a Java application for the JVM or a native executable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Plan a Java application for the JVM or a native executable."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Runtime Kit separates the configuration of an application from the tool that prepares it. An immutable "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"children":[{"kind":"code","text":"BuildPlan"}]},{"kind":"text","text":" holds the entry point and compiler arguments. A "},{"kind":"link","target":{"id":"example.runtime.Planner$Local"},"children":[{"kind":"code","text":"Planner.Local"}]},{"kind":"text","text":" validates the plan for the chosen "},{"kind":"link","target":{"id":"example.runtime.Target"},"children":[{"kind":"code","text":"Target"}]},{"kind":"text","text":"."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Start with the preparation guide for a runnable example, or explore the package reference for constructors, extension points, and error handling."}]}]},"guides":[{"id":"guide:custom-step","slug":"custom-step","title":"Write a preparation step","summary":[{"kind":"text","text":"Use the generic extension point to derive a launch command."}],"body":[{"kind":"heading","level":2,"children":[{"kind":"text","text":"Choose the output type"}]},{"kind":"paragraph","children":[{"kind":"link","target":{"id":"example.runtime.BuildStep"},"children":[{"kind":"code","text":"BuildStep<T>"}]},{"kind":"text","text":" describes the result of preparation. A step can return a command line, a manifest, or another build plan."}]},{"kind":"code","language":"java","text":"BuildStep<List<String>> launch = p -> List.of(\"java\", p.mainClass());"},{"kind":"heading","level":2,"children":[{"kind":"text","text":"Apply the step"}]},{"kind":"paragraph","children":[{"kind":"text","text":"Pass a validated "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"children":[{"kind":"code","text":"BuildPlan"}]},{"kind":"text","text":" to the step. The result contains the command and its argument as separate entries."}]},{"kind":"code","language":"java","text":"var command = launch.prepare(BuildPlan.defaults(\"example.Main\"));"}]},{"id":"guide:prepare-a-build","slug":"prepare-a-build","title":"Prepare your first build","summary":[{"kind":"text","text":"Create an immutable plan, select a runtime, and handle validation errors."}],"body":[{"kind":"heading","level":2,"children":[{"kind":"text","text":"Choose an entry point"}]},{"kind":"paragraph","children":[{"kind":"text","text":"Use "},{"kind":"link","target":{"id":"example.runtime.BuildPlan#defaults(java.lang.String)"},"children":[{"kind":"code","text":"BuildPlan.defaults(String)"}]},{"kind":"text","text":" for a plan with no extra compiler flags. The entry point is the fully qualified class name."}]},{"kind":"code","language":"java","text":"var plan = BuildPlan.defaults(\"example.Main\");"},{"kind":"heading","level":2,"children":[{"kind":"text","text":"Select the runtime"}]},{"kind":"paragraph","children":[{"kind":"text","text":"Construct a "},{"kind":"link","target":{"id":"example.runtime.Planner$Local"},"children":[{"kind":"code","text":"Planner.Local"}]},{"kind":"text","text":" for the JVM. For fine-grained progress reporting, pass "},{"kind":"link","target":{"id":"example.runtime.Planner$Options"},"children":[{"kind":"code","text":"Planner.Options"}]},{"kind":"text","text":" to the overloaded constructor."}]},{"kind":"code","language":"java","text":"var planner = new Planner.Local(Target.JVM);"},{"kind":"heading","level":2,"children":[{"kind":"text","text":"Validate the plan"}]},{"kind":"paragraph","children":[{"kind":"text","text":"Preparation returns the validated plan. A blank entry point raises "},{"kind":"link","target":{"id":"example.runtime.PlanException"},"children":[{"kind":"code","text":"PlanException"}]},{"kind":"text","text":" before execution."}]},{"kind":"code","language":"java","text":"try {\n  var ready = planner.prepare(plan);\n  System.out.println(ready.mainClass());\n} catch (PlanException rejected) {\n  System.err.println(rejected.getMessage());\n}"}]}]},"packages":[{"id":"example.runtime","name":"example.runtime","doc":{"summary":[{"kind":"text","text":"Plans Java applications for a local JVM or native executable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Plans Java applications for a local JVM or native executable."}]},{"kind":"heading","level":2,"children":[{"kind":"text","text":"Preparing a build"}]},{"kind":"paragraph","children":[{"kind":"text","text":"Start with "},{"kind":"link","target":{"id":"example.runtime.BuildPlan#defaults(java.lang.String)"},"code":true,"children":[{"kind":"text","text":"example.runtime.BuildPlan.defaults(String)"}]},{"kind":"text","text":", select a "},{"kind":"link","target":{"id":"example.runtime.Target"},"code":true,"children":[{"kind":"text","text":"example.runtime.Target"}]},{"kind":"text","text":", and pass the plan to "},{"kind":"link","target":{"id":"example.runtime.Planner$Local"},"code":true,"children":[{"kind":"text","text":"example.runtime.Planner.Local"}]},{"kind":"text","text":". Preparation validates configuration before a compiler is invoked."}]},{"kind":"heading","level":2,"children":[{"kind":"text","text":"Extending a build"}]},{"kind":"paragraph","children":[{"kind":"text","text":"Implement "},{"kind":"link","target":{"id":"example.runtime.BuildStep"},"code":true,"children":[{"kind":"text","text":"example.runtime.BuildStep"}]},{"kind":"text","text":" to transform a plan into another artifact. Report invalid input with "},{"kind":"link","target":{"id":"example.runtime.PlanException"},"code":true,"children":[{"kind":"text","text":"example.runtime.PlanException"}]},{"kind":"text","text":"."}]}]},"since":"1.0","types":[{"id":"example.runtime.BuildPlan","name":"BuildPlan","kind":"record","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"record"},{"kind":"punct","text":" "},{"kind":"name","text":"BuildPlan"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"param","text":"mainClass"},{"kind":"punct","text":", "},{"kind":"type","text":"List","ref":"java.util.List"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":"> "},{"kind":"param","text":"arguments"},{"kind":"punct","text":")"}],"superclass":[{"kind":"type","text":"Record","ref":"java.lang.Record"}],"ancestors":[{"id":"java.lang.Record"},{"id":"java.lang.Object"}],"components":[{"name":"mainClass","type":[{"kind":"type","text":"String","ref":"java.lang.String"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the fully qualified entry point"}]}]},{"name":"arguments","type":[{"kind":"type","text":"List","ref":"java.util.List"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":">"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"compiler arguments in invocation order"}]}]}],"members":[{"id":"example.runtime.BuildPlan#<init>(java.lang.String,java.util.List)","anchor":"<init>(java.lang.String,java.util.List)","kind":"constructor","name":"BuildPlan","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"BuildPlan"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"param","text":"mainClass"},{"kind":"punct","text":", "},{"kind":"type","text":"List","ref":"java.util.List"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":"> "},{"kind":"param","text":"arguments"},{"kind":"punct","text":")"}],"params":[{"name":"mainClass","type":[{"kind":"type","text":"String","ref":"java.lang.String"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the fully qualified entry point"}]}]},{"name":"arguments","type":[{"kind":"type","text":"List","ref":"java.util.List"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":">"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"compiler arguments in invocation order"}]}]}],"doc":{"summary":[{"kind":"text","text":"Creates a plan with a stable copy of the arguments."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a plan with a stable copy of the arguments."}]}]},"source":{"path":"example/runtime/BuildPlan.java","line":21}},{"id":"example.runtime.BuildPlan#defaults(java.lang.String)","anchor":"defaults(java.lang.String)","kind":"method","name":"defaults","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"},{"kind":"punct","text":" "},{"kind":"name","text":"defaults"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"param","text":"mainClass"},{"kind":"punct","text":")"}],"params":[{"name":"mainClass","type":[{"kind":"type","text":"String","ref":"java.lang.String"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the fully qualified entry point"}]}]}],"returns":{"type":[{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"a plan with an empty argument list"}]}]},"doc":{"summary":[{"kind":"text","text":"Returns a plan for the entry point using default compiler settings."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a plan for the entry point using default compiler settings."}]}]},"source":{"path":"example/runtime/BuildPlan.java","line":31}},{"id":"example.runtime.BuildPlan#toString()","anchor":"toString()","kind":"method","name":"toString","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"name","text":"toString"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a string containing the record class name and its component names and values."}]}]},"overrides":{"id":"java.lang.Record#toString()"},"doc":{"summary":[{"kind":"text","text":"Returns a string containing the record class name and its component names and values."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a string containing the record class name and its component names and values."}]}]}},{"id":"example.runtime.BuildPlan#hashCode()","anchor":"hashCode()","kind":"method","name":"hashCode","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"name","text":"hashCode"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"int"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a hash code computed from the record components."}]}]},"overrides":{"id":"java.lang.Record#hashCode()"},"doc":{"summary":[{"kind":"text","text":"Returns a hash code computed from the record components."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a hash code computed from the record components."}]}]}},{"id":"example.runtime.BuildPlan#equals(java.lang.Object)","anchor":"equals(java.lang.Object)","kind":"method","name":"equals","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"equals"},{"kind":"punct","text":"("},{"kind":"type","text":"Object","ref":"java.lang.Object"},{"kind":"punct","text":" "},{"kind":"param","text":"o"},{"kind":"punct","text":")"}],"params":[{"name":"o","type":[{"kind":"type","text":"Object","ref":"java.lang.Object"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The object to compare with this record."}]}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns whether the other object is a record of the same class with equal components."}]}]},"overrides":{"id":"java.lang.Record#equals(java.lang.Object)"},"doc":{"summary":[{"kind":"text","text":"Returns whether the other object is a record of the same class with equal components."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns whether the other object is a record of the same class with equal components."}]}]}},{"id":"example.runtime.BuildPlan#mainClass()","anchor":"mainClass()","kind":"method","name":"mainClass","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"name","text":"mainClass"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the fully qualified entry point"}]}]},"doc":{"summary":[{"kind":"text","text":"the fully qualified entry point"}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"the fully qualified entry point"}]}]}},{"id":"example.runtime.BuildPlan#arguments()","anchor":"arguments()","kind":"method","name":"arguments","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"List","ref":"java.util.List"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":"> "},{"kind":"name","text":"arguments"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"List","ref":"java.util.List"},{"kind":"punct","text":"<"},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":">"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"compiler arguments in invocation order"}]}]},"doc":{"summary":[{"kind":"text","text":"compiler arguments in invocation order"}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"compiler arguments in invocation order"}]}]}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object"},"kind":"class","members":[{"id":"java.lang.Object#getClass()","text":"getClass"},{"id":"java.lang.Object#notify()","text":"notify"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll"},{"id":"java.lang.Object#wait()","text":"wait"},{"id":"java.lang.Object#wait(long)","text":"wait"},{"id":"java.lang.Object#wait(long,int)","text":"wait"}]}],"doc":{"summary":[{"kind":"text","text":"Describes how to build a Java application as a native executable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Describes how to build a Java application as a native executable."}]},{"kind":"paragraph","children":[{"kind":"text","text":"Pass this plan to a "},{"kind":"link","target":{"id":"example.runtime.Planner$Local"},"code":true,"children":[{"kind":"text","text":"Planner.Local"}]},{"kind":"text","text":" for validation against a "},{"kind":"link","target":{"id":"example.runtime.Target"},"code":true,"children":[{"kind":"text","text":"Target"}]},{"kind":"text","text":". For example:"}]},{"kind":"code","text":"var plan = new BuildPlan(\"example.Main\", List.of(\"-O2\"));"}],"see":[[{"kind":"link","target":{"id":"guide:custom-step"},"children":[{"kind":"text","text":"Write a preparation step"}]}],[{"kind":"link","target":{"id":"guide:prepare-a-build"},"children":[{"kind":"text","text":"Prepare your first build"}]}]]},"since":"1.0","source":{"path":"example/runtime/BuildPlan.java","line":19}},{"id":"example.runtime.BuildStep","name":"BuildStep","kind":"interface","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@FunctionalInterface","ref":"java.lang.FunctionalInterface"}]],"typeParams":[{"name":"T","doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the artifact produced by the step"}]}]}],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"interface"},{"kind":"punct","text":" "},{"kind":"name","text":"BuildStep"},{"kind":"punct","text":"<"},{"kind":"typeParam","text":"T"},{"kind":"punct","text":">"}],"members":[{"id":"example.runtime.BuildStep#prepare(example.runtime.BuildPlan)","anchor":"prepare(example.runtime.BuildPlan)","kind":"method","name":"prepare","signature":[{"kind":"typeParam","text":"T"},{"kind":"punct","text":" "},{"kind":"name","text":"prepare"},{"kind":"punct","text":"("},{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"},{"kind":"punct","text":" "},{"kind":"param","text":"plan"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"PlanException","ref":"example.runtime.PlanException"}],"params":[{"name":"plan","type":[{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the input configuration"}]}]}],"returns":{"type":[{"kind":"typeParam","text":"T"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the prepared artifact"}]}]},"throws":[{"type":[{"kind":"type","text":"PlanException","ref":"example.runtime.PlanException"}],"declared":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"if the configuration cannot be prepared"}]}]}],"doc":{"summary":[{"kind":"text","text":"Prepares an artifact without executing the application."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Prepares an artifact without executing the application."}]}]},"source":{"path":"example/runtime/BuildStep.java","line":17}}],"doc":{"summary":[{"kind":"text","text":"A named phase in the preparation of a "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"code":true,"children":[{"kind":"text","text":"BuildPlan"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"A named phase in the preparation of a "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"code":true,"children":[{"kind":"text","text":"BuildPlan"}]},{"kind":"text","text":"."}]}],"see":[[{"kind":"link","target":{"id":"guide:custom-step"},"children":[{"kind":"text","text":"Write a preparation step"}]}]]},"source":{"path":"example/runtime/BuildStep.java","line":8}},{"id":"example.runtime.Experimental","name":"Experimental","kind":"annotation","language":"java","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Documented","ref":"java.lang.annotation.Documented"}],[{"kind":"annotation","text":"@Retention","ref":"java.lang.annotation.Retention"},{"kind":"punct","text":"("},{"kind":"literal","text":"RUNTIME"},{"kind":"punct","text":")"}],[{"kind":"annotation","text":"@Target","ref":"java.lang.annotation.Target"},{"kind":"punct","text":"("},{"kind":"literal","text":"{TYPE, METHOD}"},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"@interface"},{"kind":"punct","text":" "},{"kind":"name","text":"Experimental"}],"members":[{"id":"example.runtime.Experimental#since()","anchor":"since()","kind":"annotationElement","name":"since","signature":[{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"name","text":"since"},{"kind":"punct","text":"() "},{"kind":"keyword","text":"default"},{"kind":"punct","text":" "},{"kind":"literal","text":"\"1.0\""}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String"}]},"defaultValue":"\"1.0\"","doc":{"summary":[{"kind":"text","text":"The version in which the experiment began."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"The version in which the experiment began."}]}]},"source":{"path":"example/runtime/Experimental.java","line":11}}],"doc":{"summary":[{"kind":"text","text":"Marks a runtime API whose contract may evolve before the next release."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Marks a runtime API whose contract may evolve before the next release."}]}]},"source":{"path":"example/runtime/Experimental.java","line":6}},{"id":"example.runtime.PlanException","name":"PlanException","kind":"class","language":"java","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"PlanException"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Exception","ref":"java.lang.Exception"}],"superclass":[{"kind":"type","text":"Exception","ref":"java.lang.Exception"}],"ancestors":[{"id":"java.lang.Exception"},{"id":"java.lang.Throwable"},{"id":"java.lang.Object"}],"members":[{"id":"example.runtime.PlanException#<init>(java.lang.String)","anchor":"<init>(java.lang.String)","kind":"constructor","name":"PlanException","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"PlanException"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"param","text":"reason"},{"kind":"punct","text":")"}],"params":[{"name":"reason","type":[{"kind":"type","text":"String","ref":"java.lang.String"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the rejected setting"}]}]}],"doc":{"summary":[{"kind":"text","text":"Creates a failure with an explanation suitable for the build log."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a failure with an explanation suitable for the build log."}]}]},"source":{"path":"example/runtime/PlanException.java","line":10}}],"inherited":[{"from":{"id":"java.lang.Throwable","text":"Throwable"},"kind":"class","members":[{"id":"java.lang.Throwable#addSuppressed(java.lang.Throwable)","text":"addSuppressed"},{"id":"java.lang.Throwable#fillInStackTrace()","text":"fillInStackTrace"},{"id":"java.lang.Throwable#getCause()","text":"getCause"},{"id":"java.lang.Throwable#getLocalizedMessage()","text":"getLocalizedMessage"},{"id":"java.lang.Throwable#getMessage()","text":"getMessage"},{"id":"java.lang.Throwable#getStackTrace()","text":"getStackTrace"},{"id":"java.lang.Throwable#getSuppressed()","text":"getSuppressed"},{"id":"java.lang.Throwable#initCause(java.lang.Throwable)","text":"initCause"},{"id":"java.lang.Throwable#printStackTrace()","text":"printStackTrace"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintStream)","text":"printStackTrace"},{"id":"java.lang.Throwable#printStackTrace(java.io.PrintWriter)","text":"printStackTrace"},{"id":"java.lang.Throwable#setStackTrace(java.lang.StackTraceElement[])","text":"setStackTrace"},{"id":"java.lang.Throwable#toString()","text":"toString"}]},{"from":{"id":"java.lang.Object","text":"Object"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals"},{"id":"java.lang.Object#getClass()","text":"getClass"},{"id":"java.lang.Object#hashCode()","text":"hashCode"},{"id":"java.lang.Object#notify()","text":"notify"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll"},{"id":"java.lang.Object#wait()","text":"wait"},{"id":"java.lang.Object#wait(long)","text":"wait"},{"id":"java.lang.Object#wait(long,int)","text":"wait"}]}],"doc":{"summary":[{"kind":"text","text":"Indicates that a "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"code":true,"children":[{"kind":"text","text":"BuildPlan"}]},{"kind":"text","text":" cannot be prepared."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Indicates that a "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"code":true,"children":[{"kind":"text","text":"BuildPlan"}]},{"kind":"text","text":" cannot be prepared."}]}],"see":[[{"kind":"link","target":{"id":"guide:prepare-a-build"},"children":[{"kind":"text","text":"Prepare your first build"}]}]]},"source":{"path":"example/runtime/PlanException.java","line":4}},{"id":"example.runtime.Planner","name":"Planner","kind":"class","language":"java","modifiers":["public","abstract","sealed"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"abstract"},{"kind":"punct","text":" "},{"kind":"keyword","text":"sealed"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Planner"},{"kind":"punct","text":" "},{"kind":"keyword","text":"implements"},{"kind":"punct","text":" "},{"kind":"type","text":"BuildStep","ref":"example.runtime.BuildStep"},{"kind":"punct","text":"<"},{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"},{"kind":"punct","text":"> "},{"kind":"keyword","text":"permits"},{"kind":"punct","text":" "},{"kind":"type","text":"Planner.Local","ref":"example.runtime.Planner$Local"}],"superclass":[{"kind":"type","text":"Object","ref":"java.lang.Object"}],"interfaces":[[{"kind":"type","text":"BuildStep","ref":"example.runtime.BuildStep"},{"kind":"punct","text":"<"},{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"},{"kind":"punct","text":">"}]],"ancestors":[{"id":"java.lang.Object"}],"permits":[{"id":"example.runtime.Planner$Local"}],"members":[{"id":"example.runtime.Planner#target()","anchor":"target()","kind":"method","name":"target","modifiers":["public","abstract"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"abstract"},{"kind":"punct","text":" "},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":" "},{"kind":"name","text":"target"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the selected target"}]}]},"doc":{"summary":[{"kind":"text","text":"Identifies the runtime for prepared plans."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Identifies the runtime for prepared plans."}]}]},"source":{"path":"example/runtime/Planner.java","line":19}},{"id":"example.runtime.Planner#prepare(example.runtime.BuildPlan)","anchor":"prepare(example.runtime.BuildPlan)","kind":"method","name":"prepare","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"},{"kind":"punct","text":" "},{"kind":"name","text":"prepare"},{"kind":"punct","text":"("},{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"},{"kind":"punct","text":" "},{"kind":"param","text":"plan"},{"kind":"punct","text":") "},{"kind":"keyword","text":"throws"},{"kind":"punct","text":" "},{"kind":"type","text":"PlanException","ref":"example.runtime.PlanException"}],"params":[{"name":"plan","type":[{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"configuration to validate"}]}]}],"returns":{"type":[{"kind":"type","text":"BuildPlan","ref":"example.runtime.BuildPlan"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the validated plan"}]}]},"throws":[{"type":[{"kind":"type","text":"PlanException","ref":"example.runtime.PlanException"}],"declared":true,"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"when the entry point is blank"}]}]}],"overrides":{"id":"example.runtime.BuildStep#prepare(example.runtime.BuildPlan)"},"doc":{"summary":[{"kind":"text","text":"Validates that the plan names an entry point."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Validates that the plan names an entry point."}]}]},"source":{"path":"example/runtime/Planner.java","line":28}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals"},{"id":"java.lang.Object#getClass()","text":"getClass"},{"id":"java.lang.Object#hashCode()","text":"hashCode"},{"id":"java.lang.Object#notify()","text":"notify"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll"},{"id":"java.lang.Object#toString()","text":"toString"},{"id":"java.lang.Object#wait()","text":"wait"},{"id":"java.lang.Object#wait(long)","text":"wait"},{"id":"java.lang.Object#wait(long,int)","text":"wait"}]}],"doc":{"summary":[{"kind":"text","text":"Validates a "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"code":true,"children":[{"kind":"text","text":"BuildPlan"}]},{"kind":"text","text":" before handing it to a "},{"kind":"link","target":{"id":"example.runtime.BuildStep"},"code":true,"children":[{"kind":"text","text":"BuildStep"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Validates a "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"code":true,"children":[{"kind":"text","text":"BuildPlan"}]},{"kind":"text","text":" before handing it to a "},{"kind":"link","target":{"id":"example.runtime.BuildStep"},"code":true,"children":[{"kind":"text","text":"BuildStep"}]},{"kind":"text","text":". Select a "},{"kind":"link","target":{"id":"example.runtime.Target"},"code":true,"children":[{"kind":"text","text":"Target"}]},{"kind":"text","text":" and call "},{"kind":"link","target":{"id":"example.runtime.Planner#prepare(example.runtime.BuildPlan)"},"code":true,"children":[{"kind":"text","text":"prepare(BuildPlan)"}]},{"kind":"text","text":" to check the entry point."}]}],"see":[[{"kind":"link","target":{"id":"example.runtime.Planner$Options"},"code":true,"children":[{"kind":"text","text":"Planner.Options"}]}]]},"since":"1.0","source":{"path":"example/runtime/Planner.java","line":10}},{"id":"example.runtime.Planner$Local","name":"Planner.Local","kind":"class","language":"java","modifiers":["public","static","final"],"annotations":[[{"kind":"annotation","text":"@Experimental","ref":"example.runtime.Experimental"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"class"},{"kind":"punct","text":" "},{"kind":"name","text":"Planner.Local"},{"kind":"punct","text":" "},{"kind":"keyword","text":"extends"},{"kind":"punct","text":" "},{"kind":"type","text":"Planner","ref":"example.runtime.Planner"}],"superclass":[{"kind":"type","text":"Planner","ref":"example.runtime.Planner"}],"ancestors":[{"id":"example.runtime.Planner"},{"id":"java.lang.Object"}],"enclosing":"example.runtime.Planner","members":[{"id":"example.runtime.Planner$Local#<init>(example.runtime.Planner.Options)","anchor":"<init>(example.runtime.Planner.Options)","kind":"constructor","name":"Local","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"Local"},{"kind":"punct","text":"("},{"kind":"type","text":"Planner.Options","ref":"example.runtime.Planner$Options"},{"kind":"punct","text":" "},{"kind":"param","text":"options"},{"kind":"punct","text":")"}],"params":[{"name":"options","type":[{"kind":"type","text":"Planner.Options","ref":"example.runtime.Planner$Options"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"runtime and progress settings"}]}]}],"doc":{"summary":[{"kind":"text","text":"Uses explicit planning options."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Uses explicit planning options."}]}]},"source":{"path":"example/runtime/Planner.java","line":60}},{"id":"example.runtime.Planner$Local#<init>(example.runtime.Target)","anchor":"<init>(example.runtime.Target)","kind":"constructor","name":"Local","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"Local"},{"kind":"punct","text":"("},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":" "},{"kind":"param","text":"target"},{"kind":"punct","text":")"}],"params":[{"name":"target","type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the runtime"}]}]}],"doc":{"summary":[{"kind":"text","text":"Uses the supplied target with quiet progress."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Uses the supplied target with quiet progress."}]}]},"source":{"path":"example/runtime/Planner.java","line":69}},{"id":"example.runtime.Planner$Local#target()","anchor":"target()","kind":"method","name":"target","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":" "},{"kind":"name","text":"target"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the selected target"}]}]},"overrides":{"id":"example.runtime.Planner#target()"},"doc":{"summary":[{"kind":"text","text":"Identifies the runtime for prepared plans."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Identifies the runtime for prepared plans."}]}],"inheritedFrom":{"id":"example.runtime.Planner#target()"}},"source":{"path":"example/runtime/Planner.java","line":73}},{"id":"example.runtime.Planner$Local#runtime()","anchor":"runtime()","kind":"method","name":"runtime","modifiers":["public"],"annotations":[[{"kind":"annotation","text":"@Deprecated","ref":"java.lang.Deprecated"},{"kind":"punct","text":"("},{"kind":"param","text":"since"},{"kind":"punct","text":" = "},{"kind":"literal","text":"\"1.0\""},{"kind":"punct","text":")"}]],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":" "},{"kind":"name","text":"runtime"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the selected target"}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the configured runtime."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the configured runtime."}]}]},"deprecated":{"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Use "},{"kind":"link","target":{"id":"example.runtime.Planner$Local#target()"},"code":true,"children":[{"kind":"text","text":"target()"}]},{"kind":"text","text":"."}]}],"since":"1.0"},"source":{"path":"example/runtime/Planner.java","line":84}}],"inherited":[{"from":{"id":"example.runtime.Planner","text":"Planner"},"kind":"class","members":[{"id":"example.runtime.Planner#prepare(example.runtime.BuildPlan)","text":"prepare"}]},{"from":{"id":"java.lang.Object","text":"Object"},"kind":"class","members":[{"id":"java.lang.Object#equals(java.lang.Object)","text":"equals"},{"id":"java.lang.Object#getClass()","text":"getClass"},{"id":"java.lang.Object#hashCode()","text":"hashCode"},{"id":"java.lang.Object#notify()","text":"notify"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll"},{"id":"java.lang.Object#toString()","text":"toString"},{"id":"java.lang.Object#wait()","text":"wait"},{"id":"java.lang.Object#wait(long)","text":"wait"},{"id":"java.lang.Object#wait(long,int)","text":"wait"}]}],"doc":{"summary":[{"kind":"text","text":"Prepares builds against a locally installed toolchain."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Prepares builds against a locally installed toolchain."}]}],"see":[[{"kind":"link","target":{"id":"guide:prepare-a-build"},"children":[{"kind":"text","text":"Prepare your first build"}]}]]},"source":{"path":"example/runtime/Planner.java","line":51}},{"id":"example.runtime.Planner$Options","name":"Planner.Options","kind":"record","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"record"},{"kind":"punct","text":" "},{"kind":"name","text":"Planner.Options"},{"kind":"punct","text":"("},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":" "},{"kind":"param","text":"target"},{"kind":"punct","text":", "},{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"},{"kind":"punct","text":" "},{"kind":"param","text":"detail"},{"kind":"punct","text":")"}],"superclass":[{"kind":"type","text":"Record","ref":"java.lang.Record"}],"ancestors":[{"id":"java.lang.Record"},{"id":"java.lang.Object"}],"enclosing":"example.runtime.Planner","components":[{"name":"target","type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the runtime"}]}]},{"name":"detail","type":[{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the amount of progress to report"}]}]}],"members":[{"id":"example.runtime.Planner$Options#<init>(example.runtime.Target,example.runtime.Planner.Options.Detail)","anchor":"<init>(example.runtime.Target,example.runtime.Planner.Options.Detail)","kind":"constructor","name":"Options","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"name","text":"Options"},{"kind":"punct","text":"("},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":" "},{"kind":"param","text":"target"},{"kind":"punct","text":", "},{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"},{"kind":"punct","text":" "},{"kind":"param","text":"detail"},{"kind":"punct","text":")"}],"params":[{"name":"target","type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the runtime"}]}]},{"name":"detail","type":[{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the amount of progress to report"}]}]}],"implicit":true,"doc":{"summary":[{"kind":"text","text":"Creates a new Options instance."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Creates a new Options instance."}]}]}},{"id":"example.runtime.Planner$Options#toString()","anchor":"toString()","kind":"method","name":"toString","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"name","text":"toString"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"String","ref":"java.lang.String"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a string containing the record class name and its component names and values."}]}]},"overrides":{"id":"java.lang.Record#toString()"},"doc":{"summary":[{"kind":"text","text":"Returns a string containing the record class name and its component names and values."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a string containing the record class name and its component names and values."}]}]}},{"id":"example.runtime.Planner$Options#hashCode()","anchor":"hashCode()","kind":"method","name":"hashCode","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"int"},{"kind":"punct","text":" "},{"kind":"name","text":"hashCode"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"keyword","text":"int"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a hash code computed from the record components."}]}]},"overrides":{"id":"java.lang.Record#hashCode()"},"doc":{"summary":[{"kind":"text","text":"Returns a hash code computed from the record components."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns a hash code computed from the record components."}]}]}},{"id":"example.runtime.Planner$Options#equals(java.lang.Object)","anchor":"equals(java.lang.Object)","kind":"method","name":"equals","modifiers":["public","final"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"final"},{"kind":"punct","text":" "},{"kind":"keyword","text":"boolean"},{"kind":"punct","text":" "},{"kind":"name","text":"equals"},{"kind":"punct","text":"("},{"kind":"type","text":"Object","ref":"java.lang.Object"},{"kind":"punct","text":" "},{"kind":"param","text":"o"},{"kind":"punct","text":")"}],"params":[{"name":"o","type":[{"kind":"type","text":"Object","ref":"java.lang.Object"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The object to compare with this record."}]}]}],"returns":{"type":[{"kind":"keyword","text":"boolean"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns whether the other object is a record of the same class with equal components."}]}]},"overrides":{"id":"java.lang.Record#equals(java.lang.Object)"},"doc":{"summary":[{"kind":"text","text":"Returns whether the other object is a record of the same class with equal components."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns whether the other object is a record of the same class with equal components."}]}]}},{"id":"example.runtime.Planner$Options#target()","anchor":"target()","kind":"method","name":"target","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":" "},{"kind":"name","text":"target"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the runtime"}]}]},"doc":{"summary":[{"kind":"text","text":"the runtime"}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"the runtime"}]}]}},{"id":"example.runtime.Planner$Options#detail()","anchor":"detail()","kind":"method","name":"detail","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"},{"kind":"punct","text":" "},{"kind":"name","text":"detail"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"the amount of progress to report"}]}]},"doc":{"summary":[{"kind":"text","text":"the amount of progress to report"}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"the amount of progress to report"}]}]}}],"inherited":[{"from":{"id":"java.lang.Object","text":"Object"},"kind":"class","members":[{"id":"java.lang.Object#getClass()","text":"getClass"},{"id":"java.lang.Object#notify()","text":"notify"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll"},{"id":"java.lang.Object#wait()","text":"wait"},{"id":"java.lang.Object#wait(long)","text":"wait"},{"id":"java.lang.Object#wait(long,int)","text":"wait"}]}],"doc":{"summary":[{"kind":"text","text":"Configuration for "},{"kind":"link","target":{"id":"example.runtime.Planner$Local"},"code":true,"children":[{"kind":"text","text":"Local"}]},{"kind":"text","text":", including how to report progress."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Configuration for "},{"kind":"link","target":{"id":"example.runtime.Planner$Local"},"code":true,"children":[{"kind":"text","text":"Local"}]},{"kind":"text","text":", including how to report progress."}]}],"see":[[{"kind":"link","target":{"id":"guide:prepare-a-build"},"children":[{"kind":"text","text":"Prepare your first build"}]}]]},"source":{"path":"example/runtime/Planner.java","line":40}},{"id":"example.runtime.Planner$Options$Detail","name":"Planner.Options.Detail","kind":"enum","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"enum"},{"kind":"punct","text":" "},{"kind":"name","text":"Planner.Options.Detail"}],"superclass":[{"kind":"type","text":"Enum","ref":"java.lang.Enum"},{"kind":"punct","text":"<"},{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"},{"kind":"punct","text":">"}],"ancestors":[{"id":"java.lang.Enum"},{"id":"java.lang.Object"}],"enclosing":"example.runtime.Planner$Options","members":[{"id":"example.runtime.Planner$Options$Detail#values()","anchor":"values()","kind":"method","name":"values","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"},{"kind":"punct","text":"[] "},{"kind":"name","text":"values"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"},{"kind":"punct","text":"[]"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constants in declaration order."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]}},{"id":"example.runtime.Planner$Options$Detail#valueOf(java.lang.String)","anchor":"valueOf(java.lang.String)","kind":"method","name":"valueOf","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"},{"kind":"punct","text":" "},{"kind":"name","text":"valueOf"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"param","text":"name"},{"kind":"punct","text":")"}],"params":[{"name":"name","type":[{"kind":"type","text":"String","ref":"java.lang.String"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The exact name of the enum constant."}]}]}],"returns":{"type":[{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constant with the given name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]}},{"id":"example.runtime.Planner$Options$Detail#QUIET","anchor":"QUIET","kind":"enumConstant","name":"QUIET","signature":[{"kind":"name","text":"QUIET"}],"type":[{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"}],"doc":{"summary":[{"kind":"text","text":"Report only the result."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Report only the result."}]}]},"source":{"path":"example/runtime/Planner.java","line":44}},{"id":"example.runtime.Planner$Options$Detail#VERBOSE","anchor":"VERBOSE","kind":"enumConstant","name":"VERBOSE","signature":[{"kind":"name","text":"VERBOSE"}],"type":[{"kind":"type","text":"Planner.Options.Detail","ref":"example.runtime.Planner$Options$Detail"}],"doc":{"summary":[{"kind":"text","text":"Include each preparation step."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Include each preparation step."}]}]},"source":{"path":"example/runtime/Planner.java","line":46}}],"inherited":[{"from":{"id":"java.lang.Enum","text":"Enum"},"kind":"class","members":[{"id":"java.lang.Enum#compareTo(E)","text":"compareTo"},{"id":"java.lang.Enum#describeConstable()","text":"describeConstable"},{"id":"java.lang.Enum#equals(java.lang.Object)","text":"equals"},{"id":"java.lang.Enum#getDeclaringClass()","text":"getDeclaringClass"},{"id":"java.lang.Enum#hashCode()","text":"hashCode"},{"id":"java.lang.Enum#name()","text":"name"},{"id":"java.lang.Enum#ordinal()","text":"ordinal"},{"id":"java.lang.Enum#toString()","text":"toString"},{"id":"java.lang.Enum#valueOf(java.lang.Class,java.lang.String)","text":"valueOf"}]},{"from":{"id":"java.lang.Object","text":"Object"},"kind":"class","members":[{"id":"java.lang.Object#getClass()","text":"getClass"},{"id":"java.lang.Object#notify()","text":"notify"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll"},{"id":"java.lang.Object#wait()","text":"wait"},{"id":"java.lang.Object#wait(long)","text":"wait"},{"id":"java.lang.Object#wait(long,int)","text":"wait"}]}],"doc":{"summary":[{"kind":"text","text":"Controls progress while preparing a plan."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Controls progress while preparing a plan."}]}]},"source":{"path":"example/runtime/Planner.java","line":42}},{"id":"example.runtime.Target","name":"Target","kind":"enum","language":"java","modifiers":["public"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"enum"},{"kind":"punct","text":" "},{"kind":"name","text":"Target"}],"superclass":[{"kind":"type","text":"Enum","ref":"java.lang.Enum"},{"kind":"punct","text":"<"},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":">"}],"ancestors":[{"id":"java.lang.Enum"},{"id":"java.lang.Object"}],"members":[{"id":"example.runtime.Target#values()","anchor":"values()","kind":"method","name":"values","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":"[] "},{"kind":"name","text":"values"},{"kind":"punct","text":"()"}],"returns":{"type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":"[]"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constants in declaration order."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constants in declaration order."}]}]}},{"id":"example.runtime.Target#valueOf(java.lang.String)","anchor":"valueOf(java.lang.String)","kind":"method","name":"valueOf","modifiers":["public","static"],"signature":[{"kind":"keyword","text":"public"},{"kind":"punct","text":" "},{"kind":"keyword","text":"static"},{"kind":"punct","text":" "},{"kind":"type","text":"Target","ref":"example.runtime.Target"},{"kind":"punct","text":" "},{"kind":"name","text":"valueOf"},{"kind":"punct","text":"("},{"kind":"type","text":"String","ref":"java.lang.String"},{"kind":"punct","text":" "},{"kind":"param","text":"name"},{"kind":"punct","text":")"}],"params":[{"name":"name","type":[{"kind":"type","text":"String","ref":"java.lang.String"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"The exact name of the enum constant."}]}]}],"returns":{"type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]},"doc":{"summary":[{"kind":"text","text":"Returns the enum constant with the given name."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Returns the enum constant with the given name."}]}]}},{"id":"example.runtime.Target#JVM","anchor":"JVM","kind":"enumConstant","name":"JVM","signature":[{"kind":"name","text":"JVM"}],"type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":{"summary":[{"kind":"text","text":"Use the installed Java virtual machine."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Use the installed Java virtual machine."}]}]},"source":{"path":"example/runtime/Target.java","line":6}},{"id":"example.runtime.Target#NATIVE","anchor":"NATIVE","kind":"enumConstant","name":"NATIVE","signature":[{"kind":"name","text":"NATIVE"}],"type":[{"kind":"type","text":"Target","ref":"example.runtime.Target"}],"doc":{"summary":[{"kind":"text","text":"Compile an operating-system executable."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Compile an operating-system executable."}]}]},"source":{"path":"example/runtime/Target.java","line":8}}],"inherited":[{"from":{"id":"java.lang.Enum","text":"Enum"},"kind":"class","members":[{"id":"java.lang.Enum#compareTo(E)","text":"compareTo"},{"id":"java.lang.Enum#describeConstable()","text":"describeConstable"},{"id":"java.lang.Enum#equals(java.lang.Object)","text":"equals"},{"id":"java.lang.Enum#getDeclaringClass()","text":"getDeclaringClass"},{"id":"java.lang.Enum#hashCode()","text":"hashCode"},{"id":"java.lang.Enum#name()","text":"name"},{"id":"java.lang.Enum#ordinal()","text":"ordinal"},{"id":"java.lang.Enum#toString()","text":"toString"},{"id":"java.lang.Enum#valueOf(java.lang.Class,java.lang.String)","text":"valueOf"}]},{"from":{"id":"java.lang.Object","text":"Object"},"kind":"class","members":[{"id":"java.lang.Object#getClass()","text":"getClass"},{"id":"java.lang.Object#notify()","text":"notify"},{"id":"java.lang.Object#notifyAll()","text":"notifyAll"},{"id":"java.lang.Object#wait()","text":"wait"},{"id":"java.lang.Object#wait(long)","text":"wait"},{"id":"java.lang.Object#wait(long,int)","text":"wait"}]}],"doc":{"summary":[{"kind":"text","text":"Selects the runtime that will consume a "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"code":true,"children":[{"kind":"text","text":"BuildPlan"}]},{"kind":"text","text":"."}],"body":[{"kind":"paragraph","children":[{"kind":"text","text":"Selects the runtime that will consume a "},{"kind":"link","target":{"id":"example.runtime.BuildPlan"},"code":true,"children":[{"kind":"text","text":"BuildPlan"}]},{"kind":"text","text":"."}]}]},"source":{"path":"example/runtime/Target.java","line":4}}]}]}