RuntimeName Class

public final class RuntimeName
extends ExpandableStringEnum<RuntimeName>

Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom.

Field Summary

Modifier and Type Field and Description
static final RuntimeName CUSTOM

Static value custom for RuntimeName.

static final RuntimeName DOTNET_ISOLATED

Static value dotnet-isolated for RuntimeName.

static final RuntimeName JAVA

Static value java for RuntimeName.

static final RuntimeName NODE

Static value node for RuntimeName.

static final RuntimeName POWERSHELL

Static value powershell for RuntimeName.

static final RuntimeName PYTHON

Static value python for RuntimeName.

Constructor Summary

Constructor Description
RuntimeName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RuntimeName value.

Method Summary

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

Creates or finds a RuntimeName from its string representation.

static Collection<RuntimeName> values()

Gets known RuntimeName values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CUSTOM

public static final RuntimeName CUSTOM

Static value custom for RuntimeName.

DOTNET_ISOLATED

public static final RuntimeName DOTNET_ISOLATED

Static value dotnet-isolated for RuntimeName.

JAVA

public static final RuntimeName JAVA

Static value java for RuntimeName.

NODE

public static final RuntimeName NODE

Static value node for RuntimeName.

POWERSHELL

public static final RuntimeName POWERSHELL

Static value powershell for RuntimeName.

PYTHON

public static final RuntimeName PYTHON

Static value python for RuntimeName.

Constructor Details

RuntimeName

@Deprecated
public RuntimeName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RuntimeName value.

Method Details

fromString

public static RuntimeName fromString(String name)

Creates or finds a RuntimeName from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RuntimeName.

values

public static Collection values()

Gets known RuntimeName values.

Returns:

known RuntimeName values.

Applies to