ScriptShellTypes Class

public final class ScriptShellTypes
extends ExpandableStringEnum<ScriptShellTypes>

Script shell types.

Field Summary

Modifier and Type Field and Description
static final ScriptShellTypes DEFAULT

Default script shell type.

static final ScriptShellTypes POWERSHELL7

Powershell7 script shell type.

Constructor Summary

Constructor Description
ScriptShellTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScriptShellTypes value.

Method Summary

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

Creates or finds a ScriptShellTypes from its string representation.

static Collection<ScriptShellTypes> values()

Gets known ScriptShellTypes values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final ScriptShellTypes DEFAULT

Default script shell type.

POWERSHELL7

public static final ScriptShellTypes POWERSHELL7

Powershell7 script shell type.

Constructor Details

ScriptShellTypes

@Deprecated
public ScriptShellTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScriptShellTypes value.

Method Details

fromString

public static ScriptShellTypes fromString(String name)

Creates or finds a ScriptShellTypes from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScriptShellTypes.

values

public static Collection<ScriptShellTypes> values()

Gets known ScriptShellTypes values.

Returns:

known ScriptShellTypes values.

Applies to