ScriptType Class

public final class ScriptType
extends ExpandableStringEnum<ScriptType>

The type of the ScriptActivityScriptBlock.

Field Summary

Modifier and Type Field and Description
static final ScriptType NON_QUERY

Static value NonQuery for ScriptType.

static final ScriptType QUERY

Static value Query for ScriptType.

Constructor Summary

Constructor Description
ScriptType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScriptType value.

Method Summary

Modifier and Type Method and Description
static ScriptType fromString(String name)

Creates or finds a ScriptType from its string representation.

static Collection<ScriptType> values()

Gets known ScriptType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NON_QUERY

public static final ScriptType NON_QUERY

Static value NonQuery for ScriptType.

QUERY

public static final ScriptType QUERY

Static value Query for ScriptType.

Constructor Details

ScriptType

@Deprecated
public ScriptType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScriptType value.

Method Details

fromString

public static ScriptType fromString(String name)

Creates or finds a ScriptType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScriptType.

values

public static Collection<ScriptType> values()

Gets known ScriptType values.

Returns:

known ScriptType values.

Applies to