Share via


ContainerType Class

public final class ContainerType
extends ExpandableStringEnum<ContainerType>

The container technology to be used.

Field Summary

Modifier and Type Field and Description
static final ContainerType CRI_COMPATIBLE

Static value CriCompatible for ContainerType.

static final ContainerType DOCKER_COMPATIBLE

Static value DockerCompatible for ContainerType.

Constructor Summary

Constructor Description
ContainerType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ContainerType value.

Method Summary

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

Creates or finds a ContainerType from its string representation.

static Collection<ContainerType> values()

Gets known ContainerType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CRI_COMPATIBLE

public static final ContainerType CRI_COMPATIBLE

Static value CriCompatible for ContainerType.

DOCKER_COMPATIBLE

public static final ContainerType DOCKER_COMPATIBLE

Static value DockerCompatible for ContainerType.

Constructor Details

ContainerType

@Deprecated
public ContainerType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ContainerType value.

Method Details

fromString

public static ContainerType fromString(String name)

Creates or finds a ContainerType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ContainerType.

values

public static Collection<ContainerType> values()

Gets known ContainerType values.

Returns:

known ContainerType values.

Applies to