Freigeben über


OperatingSystemTypes Class

public final class OperatingSystemTypes
extends ExpandableStringEnum<OperatingSystemTypes>

The operating system type required by the containers in the container group.

Field Summary

Modifier and Type Field and Description
static final OperatingSystemTypes LINUX

Static value Linux for OperatingSystemTypes.

static final OperatingSystemTypes WINDOWS

Static value Windows for OperatingSystemTypes.

Constructor Summary

Constructor Description
OperatingSystemTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperatingSystemTypes value.

Method Summary

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

Creates or finds a OperatingSystemTypes from its string representation.

static Collection<OperatingSystemTypes> values()

Gets known OperatingSystemTypes values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LINUX

public static final OperatingSystemTypes LINUX

Static value Linux for OperatingSystemTypes.

WINDOWS

public static final OperatingSystemTypes WINDOWS

Static value Windows for OperatingSystemTypes.

Constructor Details

OperatingSystemTypes

@Deprecated
public OperatingSystemTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperatingSystemTypes value.

Method Details

fromString

public static OperatingSystemTypes fromString(String name)

Creates or finds a OperatingSystemTypes from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OperatingSystemTypes.

values

public static Collection values()

Gets known OperatingSystemTypes values.

Returns:

known OperatingSystemTypes values.

Applies to