Share via


RuntimeVersion Class

  • java.lang.Object
    • com.azure.core.util.ExpandableStringEnum
      • com.azure.resourcemanager.appplatform.models.RuntimeVersion

public final class RuntimeVersion
extends com.azure.core.util.ExpandableStringEnum<RuntimeVersion>

Defines values for RuntimeVersion.

Field Summary

Modifier and Type Field and Description
static final RuntimeVersion JAVA_11

Static value Java_11 for RuntimeVersion.

static final RuntimeVersion JAVA_17

Static value Java_17 for RuntimeVersion.

static final RuntimeVersion JAVA_8

Static value Java_8 for RuntimeVersion.

static final RuntimeVersion NET_CORE_31

Static value NetCore_31 for RuntimeVersion.

Constructor Summary

Constructor Description
RuntimeVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RuntimeVersion value.

Method Summary

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

Creates or finds a RuntimeVersion from its string representation.

static Collection<RuntimeVersion> values()

Gets known RuntimeVersion values.

Methods inherited from com.azure.core.util.ExpandableStringEnum

com.azure.core.util.ExpandableStringEnum.<T>fromString com.azure.core.util.ExpandableStringEnum.<T>values com.azure.core.util.ExpandableStringEnum.equals com.azure.core.util.ExpandableStringEnum.getValue com.azure.core.util.ExpandableStringEnum.hashCode com.azure.core.util.ExpandableStringEnum.toString

Methods inherited from java.lang.Object

Field Details

JAVA_11

public static final RuntimeVersion JAVA_11

Static value Java_11 for RuntimeVersion.

JAVA_17

public static final RuntimeVersion JAVA_17

Static value Java_17 for RuntimeVersion.

JAVA_8

public static final RuntimeVersion JAVA_8

Static value Java_8 for RuntimeVersion.

NET_CORE_31

public static final RuntimeVersion NET_CORE_31

Static value NetCore_31 for RuntimeVersion.

Constructor Details

RuntimeVersion

@Deprecated
public RuntimeVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RuntimeVersion value.

Method Details

fromString

public static RuntimeVersion fromString(String name)

Creates or finds a RuntimeVersion from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RuntimeVersion.

values

public static Collection<RuntimeVersion> values()

Gets known RuntimeVersion values.

Returns:

known RuntimeVersion values.

Applies to