Package io.fabric8.jenkins.openshiftsync
Class ConfigMapInformer
- java.lang.Object
-
- io.fabric8.jenkins.openshiftsync.ConfigMapInformer
-
- All Implemented Interfaces:
Lifecyclable
,Resyncable
,io.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.ConfigMap>
public class ConfigMapInformer extends Object implements io.fabric8.kubernetes.client.informers.ResourceEventHandler<io.fabric8.kubernetes.api.model.ConfigMap>, Lifecyclable, Resyncable
-
-
Constructor Summary
Constructors Constructor Description ConfigMapInformer(String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getResyncPeriodMilliseconds()
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
-
ConfigMapInformer
public ConfigMapInformer(String namespace)
-
-
Method Detail
-
getResyncPeriodMilliseconds
public long getResyncPeriodMilliseconds()
- Specified by:
getResyncPeriodMilliseconds
in interfaceResyncable
-
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>
-
-