ClusterEnvironment Class

public final class ClusterEnvironment
extends ExpandableStringEnum<ClusterEnvironment>

Cluster operating system, the default will be Windows.

Field Summary

Modifier and Type Field and Description
static final ClusterEnvironment LINUX

Static value Linux for ClusterEnvironment.

static final ClusterEnvironment WINDOWS

Static value Windows for ClusterEnvironment.

Constructor Summary

Constructor Description
ClusterEnvironment()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ClusterEnvironment value.

Method Summary

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

Creates or finds a ClusterEnvironment from its string representation.

static Collection<ClusterEnvironment> values()

Gets known ClusterEnvironment values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LINUX

public static final ClusterEnvironment LINUX

Static value Linux for ClusterEnvironment.

WINDOWS

public static final ClusterEnvironment WINDOWS

Static value Windows for ClusterEnvironment.

Constructor Details

ClusterEnvironment

@Deprecated
public ClusterEnvironment()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ClusterEnvironment value.

Method Details

fromString

public static ClusterEnvironment fromString(String name)

Creates or finds a ClusterEnvironment from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ClusterEnvironment.

values

public static Collection<ClusterEnvironment> values()

Gets known ClusterEnvironment values.

Returns:

known ClusterEnvironment values.

Applies to