String

data class String(val value: String) : TaskParameterValue

A UTF-8 string.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
fun asInt(): String

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

Link copied to clipboard

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

Link copied to clipboard
fun asPath(): String

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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