public enum BuildRecreateMode extends Enum<BuildRecreateMode>
mode == openshift
. If not set, existing
build config will not be recreated.
The possible values are:
Enum Constant and Description |
---|
all |
bc |
buildConfig |
imageStream |
is |
none |
Modifier and Type | Method and Description |
---|---|
static BuildRecreateMode |
fromParameter(String param) |
boolean |
isBuildConfig() |
boolean |
isImageStream() |
static BuildRecreateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildRecreateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildRecreateMode bc
public static final BuildRecreateMode buildConfig
public static final BuildRecreateMode is
public static final BuildRecreateMode imageStream
public static final BuildRecreateMode all
public static final BuildRecreateMode none
public static BuildRecreateMode[] values()
for (BuildRecreateMode c : BuildRecreateMode.values()) System.out.println(c);
public static BuildRecreateMode 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 static BuildRecreateMode fromParameter(String param)
public boolean isImageStream()
public boolean isBuildConfig()
Copyright © 2017. All rights reserved.