public abstract class APIGroupExtensionAdapter<T> extends Object implements ExtensionAdapter<T>
Constructor and Description |
---|
APIGroupExtensionAdapter() |
Modifier and Type | Method and Description |
---|---|
T |
adapt(Client client)
The adapt function.
|
protected abstract String |
getAPIGroupName() |
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 String getAPIGroupName()
public 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–2020 Red Hat. All rights reserved.