BuiltIn

data class BuiltIn(val name: String) : Configuration.Profile

A builtin profile provided by the Grader, in the form of config.<profile>.properties in the resources directory.

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard
protected open override val activeDir: Path

The active directory when using this profile.

Link copied to clipboard

The name of the profile to load.

Functions

Link copied to clipboard
open override fun newInputStream(): InputStream?

Creates a new InputStream to read from the configuration file.

Link copied to clipboard
fun resolveActive(relPath: Path): Path

Resolves relPath against the active directory of this profile. Does nothing if relPath is an absolute path.