Partager via


RebootOptions Class

public final class RebootOptions
extends ExpandableStringEnum<RebootOptions>

Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.

Field Summary

Modifier and Type Field and Description
static final RebootOptions ALWAYS

Static value Always for RebootOptions.

static final RebootOptions IF_REQUIRED

Static value IfRequired for RebootOptions.

static final RebootOptions NEVER

Static value Never for RebootOptions.

Constructor Summary

Constructor Description
RebootOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RebootOptions value.

Method Summary

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

Creates or finds a RebootOptions from its string representation.

static Collection<RebootOptions> values()

Gets known RebootOptions values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALWAYS

public static final RebootOptions ALWAYS

Static value Always for RebootOptions.

IF_REQUIRED

public static final RebootOptions IF_REQUIRED

Static value IfRequired for RebootOptions.

NEVER

public static final RebootOptions NEVER

Static value Never for RebootOptions.

Constructor Details

RebootOptions

@Deprecated
public RebootOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RebootOptions value.

Method Details

fromString

public static RebootOptions fromString(String name)

Creates or finds a RebootOptions from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RebootOptions.

values

public static Collection<RebootOptions> values()

Gets known RebootOptions values.

Returns:

known RebootOptions values.

Applies to