次の方法で共有


OsType Class

public final class OsType
extends ExpandableStringEnum<OsType>

Defines values for OsType.

Field Summary

Modifier and Type Field and Description
static final OsType LINUX

Static value Linux for OsType.

static final OsType OTHER

Static value Other for OsType.

static final OsType WINDOWS

Static value Windows for OsType.

Constructor Summary

Constructor Description
OsType()

Method Summary

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

Creates or finds a OsType from its string representation.

static Collection<OsType> values()

Gets known OsType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LINUX

public static final OsType LINUX

Static value Linux for OsType.

OTHER

public static final OsType OTHER

Static value Other for OsType.

WINDOWS

public static final OsType WINDOWS

Static value Windows for OsType.

Constructor Details

OsType

public OsType()

Method Details

fromString

public static OsType fromString(String name)

Creates or finds a OsType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OsType.

values

public static Collection<OsType> values()

Gets known OsType values.

Returns:

known OsType values.

Applies to