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

Boolean gallery script parameter type.

static final GalleryScriptParameterType DOUBLE

Double gallery script parameter type.

static final GalleryScriptParameterType ENUM

Enum gallery script parameter type.

static final GalleryScriptParameterType INT

Int gallery script parameter type.

static final GalleryScriptParameterType STRING

String gallery script parameter type.

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

Boolean gallery script parameter type.

DOUBLE

public static final GalleryScriptParameterType DOUBLE

Double gallery script parameter type.

ENUM

public static final GalleryScriptParameterType ENUM

Enum gallery script parameter type.

INT

public static final GalleryScriptParameterType INT

Int gallery script parameter type.

STRING

public static final GalleryScriptParameterType STRING

String gallery script parameter type.

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