public enum OpenShiftAPIVersion extends Enum<OpenShiftAPIVersion> implements APIModelVersion
APIModelVersion.VersionComparitor
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
static OpenShiftAPIVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenShiftAPIVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenShiftAPIVersion v1beta3
public static final OpenShiftAPIVersion v1
public static OpenShiftAPIVersion[] values()
for (OpenShiftAPIVersion c : OpenShiftAPIVersion.values()) System.out.println(c);
public static OpenShiftAPIVersion 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 int getOrder()
getOrder
in interface APIModelVersion
Copyright © 2016 Red Hat, Inc. All rights reserved.