Share via


ContainerType Class

public final class ContainerType
extends ExpandableStringEnum<ContainerType>

ContainerType enums.

Field Summary

Modifier and Type Field and Description
static final ContainerType CRI_COMPATIBLE

A CRI based technology will be used to launch the containers.

static final ContainerType DOCKER_COMPATIBLE

A Docker compatible container technology will be used to launch the containers.

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

A CRI based technology will be used to launch the containers.

DOCKER_COMPATIBLE

public static final ContainerType DOCKER_COMPATIBLE

A Docker compatible container technology will be used to launch the containers.

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