/** * Returns the estimated duration for the executable. * Protects against {@link AbstractMethodError}s if the {@link Executable} implementation * was compiled against Hudson < 1.383 */ public static long getEstimatedDurationFor(Executable e) { try { return _getEstimatedDuration(e); } catch (AbstractMethodError error) { return e.getParent().getEstimatedDuration(); } }
/** * Returns the estimated duration for the executable. * Protects against {@link AbstractMethodError}s if the {@link Executable} implementation * was compiled against Hudson < 1.383 */ public static long getEstimatedDurationFor(Executable e) { try { return _getEstimatedDuration(e); } catch (AbstractMethodError error) { return e.getParent().getEstimatedDuration(); } }
/** * Returns the estimated duration for the executable. Protects against * {@link AbstractMethodError}s if the {@link Executable} implementation was * compiled against Hudson < 1.383 */ public static long getEstimatedDurationFor(Executable e) { try { return _getEstimatedDuration(e); } catch (AbstractMethodError error) { return e.getParent().getEstimatedDuration(); } }
/** * Returns the estimated duration for the executable. * Protects against {@link AbstractMethodError}s if the {@link Executable} implementation * was compiled against Hudson < 1.383 */ public static long getEstimatedDurationFor(Executable e) { try { return _getEstimatedDuration(e); } catch (AbstractMethodError error) { return e.getParent().getEstimatedDuration(); } }