String

data class String(val value: String) : JobParameter

A UTF-8 string.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited 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.