Aracılığıyla paylaş


InstallRebootBehavior Class

public final class InstallRebootBehavior
extends ExpandableStringEnum<InstallRebootBehavior>

Indicates if updates are available and at least one of the updates needs a reboot.

Field Summary

Modifier and Type Field and Description
static final InstallRebootBehavior NEVER_REBOOTS

Static value NeverReboots for InstallRebootBehavior.

static final InstallRebootBehavior REQUEST_REBOOT

Static value RequestReboot for InstallRebootBehavior.

static final InstallRebootBehavior REQUIRES_REBOOT

Static value RequiresReboot for InstallRebootBehavior.

Constructor Summary

Constructor Description
InstallRebootBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InstallRebootBehavior value.

Method Summary

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

Creates or finds a InstallRebootBehavior from its string representation.

static Collection<InstallRebootBehavior> values()

Gets known InstallRebootBehavior values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NEVER_REBOOTS

public static final InstallRebootBehavior NEVER_REBOOTS

Static value NeverReboots for InstallRebootBehavior.

REQUEST_REBOOT

public static final InstallRebootBehavior REQUEST_REBOOT

Static value RequestReboot for InstallRebootBehavior.

REQUIRES_REBOOT

public static final InstallRebootBehavior REQUIRES_REBOOT

Static value RequiresReboot for InstallRebootBehavior.

Constructor Details

InstallRebootBehavior

@Deprecated
public InstallRebootBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InstallRebootBehavior value.

Method Details

fromString

public static InstallRebootBehavior fromString(String name)

Creates or finds a InstallRebootBehavior from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding InstallRebootBehavior.

values

public static Collection<InstallRebootBehavior> values()

Gets known InstallRebootBehavior values.

Returns:

known InstallRebootBehavior values.

Applies to