DockerfileGenerationMode Class

public final class DockerfileGenerationMode
extends ExpandableStringEnum<DockerfileGenerationMode>

The mode of generation to be used for generating Dockerfiles.

Field Summary

Modifier and Type Field and Description
static final DockerfileGenerationMode DISABLED

Static value disabled for DockerfileGenerationMode.

static final DockerfileGenerationMode ENABLED

Static value enabled for DockerfileGenerationMode.

Constructor Summary

Constructor Description
DockerfileGenerationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DockerfileGenerationMode value.

Method Summary

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

Creates or finds a DockerfileGenerationMode from its string representation.

static Collection<DockerfileGenerationMode> values()

Gets known DockerfileGenerationMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final DockerfileGenerationMode DISABLED

Static value disabled for DockerfileGenerationMode.

ENABLED

public static final DockerfileGenerationMode ENABLED

Static value enabled for DockerfileGenerationMode.

Constructor Details

DockerfileGenerationMode

@Deprecated
public DockerfileGenerationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DockerfileGenerationMode value.

Method Details

fromString

public static DockerfileGenerationMode fromString(String name)

Creates or finds a DockerfileGenerationMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DockerfileGenerationMode.

values

public static Collection<DockerfileGenerationMode> values()

Gets known DockerfileGenerationMode values.

Returns:

known DockerfileGenerationMode values.

Applies to