public class BuildConfigWatcher extends BaseWatcher
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 |
|---|---|
static void |
deleteCompleted(String bcID) |
static void |
deleteInProgress(String bcName) |
void |
eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
io.fabric8.openshift.api.model.BuildConfig buildConfig) |
<T> void |
eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
T resource) |
int |
getListIntervalInSeconds() |
Runnable |
getStartTimerTask() |
static boolean |
isDeleteInProgress(String bcID) |
void |
start() |
addWatch, hasSlaveLabelOrAnnotation, onClose, stoppublic BuildConfigWatcher(String[] namespaces)
public static void deleteInProgress(String bcName)
public static boolean isDeleteInProgress(String bcID)
public static void deleteCompleted(String bcID)
public int getListIntervalInSeconds()
getListIntervalInSeconds in class BaseWatcherpublic 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)
public <T> void eventReceived(io.fabric8.kubernetes.client.Watcher.Action action,
T resource)
eventReceived in class BaseWatcherCopyright © 2016–2018 Red Hat. All rights reserved.