public static class KubernetesVersionFactory.KubernetesVersion extends KubernetesVersionFactory.Version
| Modifier and Type | Field and Description |
|---|---|
static KubernetesVersionFactory.VersionFactory<KubernetesVersionFactory.KubernetesVersion> |
FACTORY |
full| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(KubernetesVersionFactory.Version other)
Compares this version to another version and returns whether this version has a
higher, equal or lower priority than the version that it is being compared to.
|
Integer |
getMajor() |
Optional<Integer> |
getMinor() |
Optional<String> |
getQualifier() |
boolean |
isKubernetes() |
boolean |
isStable() |
getFull, toStringpublic static final KubernetesVersionFactory.VersionFactory<KubernetesVersionFactory.KubernetesVersion> FACTORY
public Integer getMajor()
public boolean isStable()
public boolean isKubernetes()
isKubernetes in class KubernetesVersionFactory.Versionpublic int compareTo(KubernetesVersionFactory.Version other)
The Kubernetes specs at Version Priority state the following:
other - the version to compare this version toCopyright © 2015–2024 Red Hat. All rights reserved.