ValueFormat Class

public final class ValueFormat
extends ExpandableStringEnum<ValueFormat>

format for the workspace connection value.

Field Summary

Modifier and Type Field and Description
static final ValueFormat JSON

Static value JSON for ValueFormat.

Constructor Summary

Constructor Description
ValueFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ValueFormat value.

Method Summary

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

Creates or finds a ValueFormat from its string representation.

static Collection<ValueFormat> values()

Gets known ValueFormat values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

JSON

public static final ValueFormat JSON

Static value JSON for ValueFormat.

Constructor Details

ValueFormat

@Deprecated
public ValueFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ValueFormat value.

Method Details

fromString

public static ValueFormat fromString(String name)

Creates or finds a ValueFormat from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ValueFormat.

values

public static Collection<ValueFormat> values()

Gets known ValueFormat values.

Returns:

known ValueFormat values.

Applies to