ParameterType Class

public final class ParameterType
extends ExpandableStringEnum<ParameterType>

The parameter type.

Field Summary

Modifier and Type Field and Description
static final ParameterType ARRAY

Static value Array for ParameterType.

static final ParameterType BOOL

Static value Bool for ParameterType.

static final ParameterType FLOAT

Static value Float for ParameterType.

static final ParameterType INT

Static value Int for ParameterType.

static final ParameterType NOT_SPECIFIED

Static value NotSpecified for ParameterType.

static final ParameterType OBJECT

Static value Object for ParameterType.

static final ParameterType SECURE_OBJECT

Static value SecureObject for ParameterType.

static final ParameterType SECURE_STRING

Static value SecureString for ParameterType.

static final ParameterType STRING

Static value String for ParameterType.

Constructor Summary

Constructor Description
ParameterType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ParameterType value.

Method Summary

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

Creates or finds a ParameterType from its string representation.

static Collection<ParameterType> values()

Gets known ParameterType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ARRAY

public static final ParameterType ARRAY

Static value Array for ParameterType.

BOOL

public static final ParameterType BOOL

Static value Bool for ParameterType.

FLOAT

public static final ParameterType FLOAT

Static value Float for ParameterType.

INT

public static final ParameterType INT

Static value Int for ParameterType.

NOT_SPECIFIED

public static final ParameterType NOT_SPECIFIED

Static value NotSpecified for ParameterType.

OBJECT

public static final ParameterType OBJECT

Static value Object for ParameterType.

SECURE_OBJECT

public static final ParameterType SECURE_OBJECT

Static value SecureObject for ParameterType.

SECURE_STRING

public static final ParameterType SECURE_STRING

Static value SecureString for ParameterType.

STRING

public static final ParameterType STRING

Static value String for ParameterType.

Constructor Details

ParameterType

@Deprecated
public ParameterType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ParameterType value.

Method Details

fromString

public static ParameterType fromString(String name)

Creates or finds a ParameterType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ParameterType.

values

public static Collection values()

Gets known ParameterType values.

Returns:

known ParameterType values.

Applies to