public enum JKubeBuildStrategy extends Enum<JKubeBuildStrategy>
| Modifier and Type | Class and Description |
|---|---|
static class |
JKubeBuildStrategy.SourceStrategy |
| Enum Constant and Description |
|---|
buildpacks
BuildPacks
|
docker
Docker build with a binary source
|
jib
JIB build
|
s2i
S2i build with a binary source
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
boolean |
isSame(String type)
Check if the given type is same as the type stored in OpenShift
|
boolean |
isSupportsWatch() |
static JKubeBuildStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JKubeBuildStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JKubeBuildStrategy s2i
public static final JKubeBuildStrategy jib
public static final JKubeBuildStrategy docker
public static final JKubeBuildStrategy buildpacks
public static JKubeBuildStrategy[] values()
for (JKubeBuildStrategy c : JKubeBuildStrategy.values()) System.out.println(c);
public static JKubeBuildStrategy 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 isSame(String type)
type - to checkpublic String getLabel()
public boolean isSupportsWatch()
Copyright © 2024. All rights reserved.