Package io.fabric8.jenkins.openshiftsync
Class ConfigMapClusterInformer
- java.lang.Object
-
- io.fabric8.jenkins.openshiftsync.ConfigMapClusterInformer
-
- All Implemented Interfaces:
Lifecyclable
,io.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.ConfigMap>
public class ConfigMapClusterInformer extends Object implements io.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.ConfigMap>, Lifecyclable
-
-
Constructor Summary
Constructors Constructor Description ConfigMapClusterInformer(String[] namespaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getListIntervalInSeconds()
void
onAdd(io.fabric8.kubernetes.api.model.ConfigMap obj)
void
onDelete(io.fabric8.kubernetes.api.model.ConfigMap obj, boolean deletedFinalStateUnknown)
void
onUpdate(io.fabric8.kubernetes.api.model.ConfigMap oldObj, io.fabric8.kubernetes.api.model.ConfigMap newObj)
void
start()
void
stop()
-
-
-
Constructor Detail
-
ConfigMapClusterInformer
public ConfigMapClusterInformer(String[] namespaces)
-
-
Method Detail
-
getListIntervalInSeconds
public int getListIntervalInSeconds()
-
start
public void start()
- Specified by:
start
in interfaceLifecyclable
-
stop
public void stop()
- Specified by:
stop
in interfaceLifecyclable
-
onAdd
public void onAdd(io.fabric8.kubernetes.api.model.ConfigMap obj)
- Specified by:
onAdd
in interfaceio.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.ConfigMap>
-
onUpdate
public void onUpdate(io.fabric8.kubernetes.api.model.ConfigMap oldObj, io.fabric8.kubernetes.api.model.ConfigMap newObj)
- Specified by:
onUpdate
in interfaceio.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.ConfigMap>
-
onDelete
public void onDelete(io.fabric8.kubernetes.api.model.ConfigMap obj, boolean deletedFinalStateUnknown)
- Specified by:
onDelete
in interfaceio.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.ConfigMap>
-
-