public static enum DockerClient.BuildParameter extends Enum<DockerClient.BuildParameter>
build
method.Enum Constant and Description |
---|
FORCE_RM
Always remove intermediate containers.
|
NO_CACHE
Do not use the cache when building the image.
|
NO_RM
Do not remove intermediate containers after a successful build.
|
PULL_NEWER_IMAGE
Always attempt to pull a newer version of the base image even if one exists locally.
|
QUIET
Suppress verbose build output.
|
RM
Do remove intermediate containers after a successful build.
|
Modifier and Type | Field and Description |
---|---|
(package private) String |
buildParamName |
(package private) boolean |
buildParamValue |
Modifier and Type | Method and Description |
---|---|
boolean |
getParamValue() |
static DockerClient.BuildParameter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DockerClient.BuildParameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DockerClient.BuildParameter QUIET
public static final DockerClient.BuildParameter NO_CACHE
public static final DockerClient.BuildParameter RM
public static final DockerClient.BuildParameter NO_RM
public static final DockerClient.BuildParameter FORCE_RM
public static final DockerClient.BuildParameter PULL_NEWER_IMAGE
final String buildParamName
final boolean buildParamValue
public static DockerClient.BuildParameter[] values()
for (DockerClient.BuildParameter c : DockerClient.BuildParameter.values()) System.out.println(c);
public static DockerClient.BuildParameter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean getParamValue()
DockerClient.BuildParameter
valueCopyright © 2015. All rights reserved.