Package io.fabric8.jenkins.openshiftsync
Class GenericEventHandler<T extends io.fabric8.kubernetes.api.model.HasMetadata>
- java.lang.Object
-
- io.fabric8.jenkins.openshiftsync.GenericEventHandler<T>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.client.informers.ResourceEventHandler<T>
public class GenericEventHandler<T extends io.fabric8.kubernetes.api.model.HasMetadata> extends Object implements io.fabric8.kubernetes.client.informers.ResourceEventHandler<T>
-
-
Constructor Summary
Constructors Constructor Description GenericEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAdd(T obj)
void
onDelete(T obj, boolean deletedFinalStateUnknown)
void
onUpdate(T oldObj, T newObj)
-
-
-
Method Detail
-
onAdd
public void onAdd(T obj)
- Specified by:
onAdd
in interfaceio.fabric8.kubernetes.client.informers.ResourceEventHandler<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
onUpdate
public void onUpdate(T oldObj, T newObj)
- Specified by:
onUpdate
in interfaceio.fabric8.kubernetes.client.informers.ResourceEventHandler<T extends io.fabric8.kubernetes.api.model.HasMetadata>
-
-