Package-level declarations
Types
Class that binds a parameter handler to a value provider function. This allows for serializing parameter values without directly accessing the storage mechanism.
To add a new kernel argument:
Interface for handling the parsing and serialization of a specific kernel parameter type.
Class that extends BoundKernelParameter with the ability to update the parameter value. This allows for both parsing and serializing parameter values.
Abstract base class for named kernel parameters that follow the format "-name=value". Provides a common implementation for parsing and serializing named parameters.
A simple implementation of a named kernel parameter that handles integer values.
Represents a simple named kernel parameter with a string value. This parameter is identified by a single alias provided via the name
property. It inherits functionality to parse and serialize command-line arguments in the format "-name=value".
Properties
Parameter handler for the client type. Specifies the type of client that is connecting to the kernel.
Parameter handler for the configuration file path. This is a positional parameter (not prefixed with a name) that specifies the path to the configuration file.
Parameter handler for the debug port. Specifies the port number to use for remote debugging of the kernel.
Parameter handler for additional compiler arguments. Specifies extra arguments to pass to the Kotlin compiler when compiling snippets. Can't be specified twice in the command line.
Parameter handler for the kernel home directory. Specifies the base directory where the kernel will look for resources and configurations.
Parameter handler for the JVM target version. Specifies the target JVM version for compiled snippets (e.g., "1.8", "11", "17").
Parameter handler for the REPL compiler mode. Specifies the compilation mode to use for the REPL.
Parameter handler for the classpath entries. Accepts multiple path entries separated by the platform-specific path separator.
Functions
Parses an array of command-line arguments using the provided parameter handlers. For each argument, tries each parameter handler in order until one successfully parses it.
Serializes kernel parameters into a list of command-line arguments. Each parameter is serialized only if it has a non-null value.