public static void firePollingFailed( AbstractProject<?, ?> project, TaskListener listener, Throwable exception ) { for( SCMPollListener l : all() ) { try { l.onPollingFailed(project, listener, exception); } catch (Exception e) { /* Make sure, that the listeners do not have any impact on the actual poll */ } } }
public void superOnPollingFailed(AbstractProject<?, ?> project, TaskListener listener, Throwable exception) { super.onPollingFailed(project, listener, exception); }
public static void firePollingFailed( AbstractProject<?, ?> project, TaskListener listener, Throwable exception ) { for( SCMPollListener l : all() ) { try { l.onPollingFailed(project, listener, exception); } catch (Exception e) { /* Make sure, that the listeners do not have any impact on the actual poll */ } } }
@Override public void onPollingFailed(AbstractProject<?, ?> project, TaskListener listener, Throwable exception) { initPython(); if (pexec.isImplemented(2)) { pexec.execPythonVoid("on_polling_failed", project, listener, exception); } else { super.onPollingFailed(project, listener, exception); } }