public class BuildConfigWatcher extends BaseWatcher implements io.fabric8.kubernetes.client.Watcher<io.fabric8.openshift.api.model.BuildConfig>
BuildConfig objects in OpenShift and for WorkflowJobs we ensure there is a
suitable Jenkins Job object defined with the correct configurationnamespaces, relister, watches| Constructor and Description |
|---|
BuildConfigWatcher(String[] namespaces) |
| Modifier and Type | Method and Description |
|---|---|
void |
eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
io.fabric8.openshift.api.model.BuildConfig buildConfig) |
Runnable |
getStartTimerTask() |
void |
start() |
hasSlaveLabelOrAnnotation, onClose, stoppublic BuildConfigWatcher(String[] namespaces)
public Runnable getStartTimerTask()
getStartTimerTask in class BaseWatcherpublic void start()
start in class BaseWatcherpublic void eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
io.fabric8.openshift.api.model.BuildConfig buildConfig)
eventReceived in interface io.fabric8.kubernetes.client.Watcher<io.fabric8.openshift.api.model.BuildConfig>Copyright © 2016–2017 Red Hat. All rights reserved.