Share via


GalleryScriptParameterType Class

public final class GalleryScriptParameterType
extends ExpandableStringEnum<GalleryScriptParameterType>

Specifies the type of the Gallery Script parameter. Possible values are: String, Int, Double, Boolean, Enum.

Field Summary

Modifier and Type Field and Description
static final GalleryScriptParameterType BOOLEAN

Static value Boolean for GalleryScriptParameterType.

static final GalleryScriptParameterType DOUBLE

Static value Double for GalleryScriptParameterType.

static final GalleryScriptParameterType ENUM

Static value Enum for GalleryScriptParameterType.

static final GalleryScriptParameterType INT

Static value Int for GalleryScriptParameterType.

static final GalleryScriptParameterType STRING

Static value String for GalleryScriptParameterType.

Constructor Summary

Constructor Description
GalleryScriptParameterType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GalleryScriptParameterType value.

Method Summary

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

Creates or finds a GalleryScriptParameterType from its string representation.

static Collection<GalleryScriptParameterType> values()

Gets known GalleryScriptParameterType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BOOLEAN

public static final GalleryScriptParameterType BOOLEAN

Static value Boolean for GalleryScriptParameterType.

DOUBLE

public static final GalleryScriptParameterType DOUBLE

Static value Double for GalleryScriptParameterType.

ENUM

public static final GalleryScriptParameterType ENUM

Static value Enum for GalleryScriptParameterType.

INT

public static final GalleryScriptParameterType INT

Static value Int for GalleryScriptParameterType.

STRING

public static final GalleryScriptParameterType STRING

Static value String for GalleryScriptParameterType.

Constructor Details

GalleryScriptParameterType

@Deprecated
public GalleryScriptParameterType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GalleryScriptParameterType value.

Method Details

fromString

public static GalleryScriptParameterType fromString(String name)

Creates or finds a GalleryScriptParameterType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding GalleryScriptParameterType.

values

public static Collection<GalleryScriptParameterType> values()

Gets known GalleryScriptParameterType values.

Returns:

known GalleryScriptParameterType values.

Applies to