public abstract class APIGroupExtensionAdapter<T> extends java.lang.Object implements ExtensionAdapter<T>
Constructor and Description |
---|
APIGroupExtensionAdapter() |
Modifier and Type | Method and Description |
---|---|
T |
adapt(Client client)
The adapt function.
|
protected abstract java.lang.String |
getAPIGroupName() |
java.lang.Boolean |
isAdaptable(Client client)
Checks if it is possible to adapt.
|
protected abstract T |
newInstance(Client client) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtensionType
protected abstract java.lang.String getAPIGroupName()
public java.lang.Boolean isAdaptable(Client client)
ExtensionAdapter
isAdaptable
in interface ExtensionAdapter<T>
client
- The instance of NamespacedKubernetesClient
to adapt.public T adapt(Client client)
ExtensionAdapter
adapt
in interface ExtensionAdapter<T>
client
- The instance of NamespacedKubernetesClient
to adapt.Client
.Copyright © 2015-2019 Red Hat. All Rights Reserved.