asScriptNameOrNull

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