Share via


CommandLineSetting Class

public final class CommandLineSetting
extends ExpandableStringEnum<CommandLineSetting>

Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all.

Field Summary

Modifier and Type Field and Description
static final CommandLineSetting ALLOW

Static value Allow for CommandLineSetting.

static final CommandLineSetting DO_NOT_ALLOW

Static value DoNotAllow for CommandLineSetting.

static final CommandLineSetting REQUIRE

Static value Require for CommandLineSetting.

Constructor Summary

Constructor Description
CommandLineSetting()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CommandLineSetting value.

Method Summary

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

Creates or finds a CommandLineSetting from its string representation.

static Collection<CommandLineSetting> values()

Gets known CommandLineSetting values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final CommandLineSetting ALLOW

Static value Allow for CommandLineSetting.

DO_NOT_ALLOW

public static final CommandLineSetting DO_NOT_ALLOW

Static value DoNotAllow for CommandLineSetting.

REQUIRE

public static final CommandLineSetting REQUIRE

Static value Require for CommandLineSetting.

Constructor Details

CommandLineSetting

@Deprecated
public CommandLineSetting()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CommandLineSetting value.

Method Details

fromString

public static CommandLineSetting fromString(String name)

Creates or finds a CommandLineSetting from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CommandLineSetting.

values

public static Collection<CommandLineSetting> values()

Gets known CommandLineSetting values.

Returns:

known CommandLineSetting values.

Applies to