public class StringResourceVersion extends Object implements ResourceVersion<StringResourceVersion>
ResourceVersion implementation with String value. The resource version in
Kubernetes is String. And they have same length, we could easily compare string.| 限定符和类型 | 方法和说明 |
|---|---|
int |
compareTo(StringResourceVersion other) |
boolean |
equals(Object obj) |
String |
getValue() |
int |
hashCode() |
boolean |
isExisting()
Check whether the state handle is existing.
|
static StringResourceVersion |
notExisting() |
String |
toString() |
static StringResourceVersion |
valueOf(String value) |
public int compareTo(@Nonnull StringResourceVersion other)
compareTo 在接口中 Comparable<StringResourceVersion>public boolean isExisting()
ResourceVersionisExisting 在接口中 ResourceVersion<StringResourceVersion>ResourceVersion on external storage.
Or false it does not exist.public String getValue()
public static StringResourceVersion notExisting()
public static StringResourceVersion valueOf(String value)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.