ValueType Class

public final class ValueType
extends ExpandableStringEnum<ValueType>

The value type of the items in the list.

Field Summary

Modifier and Type Field and Description
static final ValueType IP_CIDR

Static value IpCidr for ValueType.

static final ValueType STRING

Static value String for ValueType.

Constructor Summary

Constructor Description
ValueType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ValueType value.

Method Summary

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

Creates or finds a ValueType from its string representation.

static Collection<ValueType> values()

Gets known ValueType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IP_CIDR

public static final ValueType IP_CIDR

Static value IpCidr for ValueType.

STRING

public static final ValueType STRING

Static value String for ValueType.

Constructor Details

ValueType

@Deprecated
public ValueType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ValueType value.

Method Details

fromString

public static ValueType fromString(String name)

Creates or finds a ValueType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ValueType.

values

public static Collection values()

Gets known ValueType values.

Returns:

known ValueType values.

Applies to