SkipShutdown Class

public final class SkipShutdown
extends ExpandableStringEnum<SkipShutdown>

Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false.

Field Summary

Modifier and Type Field and Description
static final SkipShutdown FALSE

Static value false for SkipShutdown.

static final SkipShutdown TRUE

Static value true for SkipShutdown.

Constructor Summary

Constructor Description
SkipShutdown()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SkipShutdown value.

Method Summary

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

Creates or finds a SkipShutdown from its string representation.

static Collection<SkipShutdown> values()

Gets known SkipShutdown values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FALSE

public static final SkipShutdown FALSE

Static value false for SkipShutdown.

TRUE

public static final SkipShutdown TRUE

Static value true for SkipShutdown.

Constructor Details

SkipShutdown

@Deprecated
public SkipShutdown()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SkipShutdown value.

Method Details

fromString

public static SkipShutdown fromString(String name)

Creates or finds a SkipShutdown from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SkipShutdown.

values

public static Collection<SkipShutdown> values()

Gets known SkipShutdown values.

Returns:

known SkipShutdown values.

Applies to