JobIdentifier

sealed class JobIdentifier

Identifies a specific batch job.

Inheritors

Types

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

The name of the file that contains the batch job definition.

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

The name of the script that contains the batch job definition.

Link copied to clipboard

Functions

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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