WindowsOsState Class

public final class WindowsOsState
extends ExpandableStringEnum<WindowsOsState>

The state of the Windows OS (i.e. NonSysprepped, SysprepRequested, SysprepApplied).

Field Summary

Modifier and Type Field and Description
static final WindowsOsState NON_SYSPREPPED

Static value NonSysprepped for WindowsOsState.

static final WindowsOsState SYSPREP_APPLIED

Static value SysprepApplied for WindowsOsState.

static final WindowsOsState SYSPREP_REQUESTED

Static value SysprepRequested for WindowsOsState.

Constructor Summary

Constructor Description
WindowsOsState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WindowsOsState value.

Method Summary

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

Creates or finds a WindowsOsState from its string representation.

static Collection<WindowsOsState> values()

Gets known WindowsOsState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NON_SYSPREPPED

public static final WindowsOsState NON_SYSPREPPED

Static value NonSysprepped for WindowsOsState.

SYSPREP_APPLIED

public static final WindowsOsState SYSPREP_APPLIED

Static value SysprepApplied for WindowsOsState.

SYSPREP_REQUESTED

public static final WindowsOsState SYSPREP_REQUESTED

Static value SysprepRequested for WindowsOsState.

Constructor Details

WindowsOsState

@Deprecated
public WindowsOsState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WindowsOsState value.

Method Details

fromString

public static WindowsOsState fromString(String name)

Creates or finds a WindowsOsState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WindowsOsState.

values

public static Collection values()

Gets known WindowsOsState values.

Returns:

known WindowsOsState values.

Applies to