다음을 통해 공유


OperatingSystemType Class

public final class OperatingSystemType
extends ExpandableStringEnum<OperatingSystemType>

Gets the Operating System type.

Field Summary

Modifier and Type Field and Description
static final OperatingSystemType LINUX

Static value Linux for OperatingSystemType.

static final OperatingSystemType WINDOWS

Static value Windows for OperatingSystemType.

Constructor Summary

Constructor Description
OperatingSystemType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperatingSystemType value.

Method Summary

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

Creates or finds a OperatingSystemType from its string representation.

static Collection<OperatingSystemType> values()

Gets known OperatingSystemType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LINUX

public static final OperatingSystemType LINUX

Static value Linux for OperatingSystemType.

WINDOWS

public static final OperatingSystemType WINDOWS

Static value Windows for OperatingSystemType.

Constructor Details

OperatingSystemType

@Deprecated
public OperatingSystemType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperatingSystemType value.

Method Details

fromString

public static OperatingSystemType fromString(String name)

Creates or finds a OperatingSystemType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OperatingSystemType.

values

public static Collection values()

Gets known OperatingSystemType values.

Returns:

known OperatingSystemType values.

Applies to