JobParameter

sealed class JobParameter

The details of job parameters.

Inheritors

Types

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 Int(val value: String) : JobParameter

A signed integer 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
Link copied to clipboard
data class String(val value: String) : JobParameter

A UTF-8 string.

Functions

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 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 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 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 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 String and retrieves its kotlin.String value. Returns null if the JobParameter is not a String.