SupportedRuntimePlatform Class

public final class SupportedRuntimePlatform
extends ExpandableStringEnum<SupportedRuntimePlatform>

The platform of this runtime version (possible values: "Java" or ".NET").

Field Summary

Modifier and Type Field and Description
static final SupportedRuntimePlatform JAVA

Static value Java for SupportedRuntimePlatform.

static final SupportedRuntimePlatform NET_CORE

Static value .NET Core for SupportedRuntimePlatform.

Constructor Summary

Constructor Description
SupportedRuntimePlatform()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SupportedRuntimePlatform value.

Method Summary

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

Creates or finds a SupportedRuntimePlatform from its string representation.

static Collection<SupportedRuntimePlatform> values()

Gets known SupportedRuntimePlatform values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

JAVA

public static final SupportedRuntimePlatform JAVA

Static value Java for SupportedRuntimePlatform.

NET_CORE

public static final SupportedRuntimePlatform NET_CORE

Static value .NET Core for SupportedRuntimePlatform.

Constructor Details

SupportedRuntimePlatform

@Deprecated
public SupportedRuntimePlatform()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SupportedRuntimePlatform value.

Method Details

fromString

public static SupportedRuntimePlatform fromString(String name)

Creates or finds a SupportedRuntimePlatform from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SupportedRuntimePlatform.

values

public static Collection values()

Gets known SupportedRuntimePlatform values.

Returns:

known SupportedRuntimePlatform values.

Applies to