public enum PlatformMode extends Enum<PlatformMode>
| Enum Constant and Description |
|---|
auto
Detect automatically whether running on OpenShift or Kuberentes.
|
kubernetes
Create resources descriptors for vanilla Kubernetes
|
openshift
Use special OpenShift features like BuildConfigs
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
boolean |
isAuto() |
static PlatformMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformMode kubernetes
public static final PlatformMode openshift
public static final PlatformMode auto
public static PlatformMode[] values()
for (PlatformMode c : PlatformMode.values()) System.out.println(c);
public static PlatformMode 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 isAuto()
public String getLabel()
Copyright © 2016. All rights reserved.