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, waitgetExtensionTypeprotected abstract String getAPIGroupName()
public Boolean isAdaptable(Client client)
ExtensionAdapterisAdaptable in interface ExtensionAdapter<T>client - The instance of NamespacedKubernetesClient to adapt.public T adapt(Client client)
ExtensionAdapteradapt in interface ExtensionAdapter<T>client - The instance of NamespacedKubernetesClient to adapt.Client.Copyright © 2015–2021 Red Hat. All rights reserved.