Package-level declarations

This package contains all context classes that are available in the API.

Types

Link copied to clipboard
data class EnvironmentContext(val operatingSystem: EnvironmentOperatingSystem = EnvironmentOperatingSystem())

A class to provide context information about the environment in which the script is executed.

Link copied to clipboard
data class EnvironmentOperatingSystem(val name: String = System.getProperty("os.name"))

This class contains information about the operating system installed in the execution environment.

Link copied to clipboard
data class ScopeContext(val path: Path, val script: ScriptContext, val env: EnvironmentContext = EnvironmentContext())

A class to provide context information for a net.democritus.scripting.scope.ScriptScope object.

Link copied to clipboard
data class ScriptContext(val settings: Settings, val args: Array<String>, val path: Path, val filePath: Path)

A class to provide global context information for an NSScript execution.