public class KubernetesVersionPriority extends Object
Modifier and Type | Method and Description |
---|---|
static String |
highestPriority(List<String> versions)
Returns the version with the highest priority for the given list of versions.
|
public static String highestPriority(List<String> versions)
versions
- the versions to pick the version with the highest priority fromCustomResourceDefinitionVersion.getName()
,
CustomResourceDefinitionSpec.getVersions()
Copyright © 2015–2020 Red Hat. All rights reserved.