Types

Link copied to clipboard
data class Bool(val value: String) : JobParameter

A boolean value represented as a string. Accepted values are true, false, yes, no, on, off, 1, and 0, case-insensitive.

Link copied to clipboard
data class BoolList(val value: List<String>) : JobParameter

A list of boolean values, each represented as a string.

Link copied to clipboard
data class Float(val value: String) : JobParameter

A double precision IEEE-754 floating point number represented as a string.

Link copied to clipboard
data class FloatList(val value: List<String>) : JobParameter

A list of double precision IEEE-754 floating point numbers, each represented as a string.

Link copied to clipboard
data class Int(val value: String) : JobParameter

A signed integer represented as a string.

Link copied to clipboard
data class IntList(val value: List<String>) : JobParameter

A list of signed integers, each represented as a string.

Link copied to clipboard
data class IntListList(val value: List<List<String>>) : JobParameter

A list of lists of signed integers, each represented as a string.

Link copied to clipboard
data class Path(val value: String) : JobParameter

A file system path represented as a string.

Link copied to clipboard
data class PathList(val value: List<String>) : JobParameter

A list of file system paths, each represented as a string.

Link copied to clipboard
data class RangeExpr(val value: String) : JobParameter

An Open Job Description range expression represented as a string, such as 1-10:2.

Link copied to clipboard
Link copied to clipboard
data class String(val value: String) : JobParameter

A UTF-8 string.

Link copied to clipboard
data class StringList(val value: List<String>) : JobParameter

A list of UTF-8 strings.

Functions

Link copied to clipboard
fun asBool(): String

Casts this JobParameter as a Bool and retrieves its kotlin.String value. Throws an exception if the JobParameter is not a Bool.

Link copied to clipboard

Casts this JobParameter as a BoolList and retrieves its kotlin.collections.List value. Throws an exception if the JobParameter is not a BoolList.

Link copied to clipboard

Casts this JobParameter as a BoolList and retrieves its kotlin.collections.List value. Returns null if the JobParameter is not a BoolList.

Link copied to clipboard

Casts this JobParameter as a Bool and retrieves its kotlin.String value. Returns null if the JobParameter is not a Bool.

Link copied to clipboard

Casts this JobParameter as a Float and retrieves its kotlin.String value. Throws an exception if the JobParameter is not a Float.

Link copied to clipboard

Casts this JobParameter as a FloatList and retrieves its kotlin.collections.List value. Throws an exception if the JobParameter is not a FloatList.

Link copied to clipboard

Casts this JobParameter as a FloatList and retrieves its kotlin.collections.List value. Returns null if the JobParameter is not a FloatList.

Link copied to clipboard

Casts this JobParameter as a Float and retrieves its kotlin.String value. Returns null if the JobParameter is not a Float.

Link copied to clipboard
fun asInt(): String

Casts this JobParameter as a Int and retrieves its kotlin.String value. Throws an exception if the JobParameter is not a Int.

Link copied to clipboard

Casts this JobParameter as a IntList and retrieves its kotlin.collections.List value. Throws an exception if the JobParameter is not a IntList.

Link copied to clipboard

Casts this JobParameter as a IntListList and retrieves its kotlin.collections.List> value. Throws an exception if the JobParameter is not a IntListList.

Link copied to clipboard

Casts this JobParameter as a IntListList and retrieves its kotlin.collections.List> value. Returns null if the JobParameter is not a IntListList.

Link copied to clipboard

Casts this JobParameter as a IntList and retrieves its kotlin.collections.List value. Returns null if the JobParameter is not a IntList.

Link copied to clipboard

Casts this JobParameter as a Int and retrieves its kotlin.String value. Returns null if the JobParameter is not a Int.

Link copied to clipboard
fun asPath(): String

Casts this JobParameter as a Path and retrieves its kotlin.String value. Throws an exception if the JobParameter is not a Path.

Link copied to clipboard

Casts this JobParameter as a PathList and retrieves its kotlin.collections.List value. Throws an exception if the JobParameter is not a PathList.

Link copied to clipboard

Casts this JobParameter as a PathList and retrieves its kotlin.collections.List value. Returns null if the JobParameter is not a PathList.

Link copied to clipboard

Casts this JobParameter as a Path and retrieves its kotlin.String value. Returns null if the JobParameter is not a Path.

Link copied to clipboard

Casts this JobParameter as a RangeExpr and retrieves its kotlin.String value. Throws an exception if the JobParameter is not a RangeExpr.

Link copied to clipboard

Casts this JobParameter as a RangeExpr and retrieves its kotlin.String value. Returns null if the JobParameter is not a RangeExpr.

Link copied to clipboard

Casts this JobParameter as a String and retrieves its kotlin.String value. Throws an exception if the JobParameter is not a String.

Link copied to clipboard

Casts this JobParameter as a StringList and retrieves its kotlin.collections.List value. Throws an exception if the JobParameter is not a StringList.

Link copied to clipboard

Casts this JobParameter as a StringList and retrieves its kotlin.collections.List value. Returns null if the JobParameter is not a StringList.

Link copied to clipboard

Casts this JobParameter as a String and retrieves its kotlin.String value. Returns null if the JobParameter is not a String.