public static void fireCompleted(Run r, @Nonnull TaskListener listener) {
        for (RunListener l : all()) {
            if(l.targetType.isInstance(r))
                try {
                    l.onCompleted(r,listener);
                } catch (Throwable e) {
                    report(e);
                }
        }
    }
public static void fireCompleted ( Run r , @ Nonnull TaskListener listener ) { for ( RunListener l : all ( ) ) { if ( l . targetType . isInstance ( r ) ) try { l . onCompleted ( r , listener ) ; } catch ( Throwable e ) { report ( e ) ; } } }
Fires the {@link #onCompleted(Run, TaskListener)} event.