JavaRuntimePathResolver

class JavaRuntimePathResolver(jetbrainsRuntime: FileCollection, intellijPlatform: FileCollection, javaToolchainSpec: JavaToolchainSpec, javaToolchainService: JavaToolchainService) : PathResolver

Resolves Java Runtime.

Parameters

jetbrainsRuntime
intellijPlatform
javaToolchainSpec

The Java Toolchain configured with JavaPluginExtension.

javaToolchainService

The JavaToolchainService used for finding a matching launcher.

Constructors

Link copied to clipboard
constructor(jetbrainsRuntime: FileCollection, intellijPlatform: FileCollection, javaToolchainSpec: JavaToolchainSpec, javaToolchainService: JavaToolchainService)

Properties

Link copied to clipboard
open override val predictions: Sequence<Pair<String, () -> Path?>>

A sequence of possible locations of the Path we're looking for.

Link copied to clipboard
open override val subject: String
Link copied to clipboard
open override val subjectInput: String

Functions

Link copied to clipboard
open fun Sequence<Pair<String, () -> Path?>>.resolve(): Path

open override fun resolve(): Path

Resolves the Path of our subject going through all predictions sequence.

Link copied to clipboard

Resolves an exact Java Runtime executable.