public String getEstimatedRemainingTime ( ) { long d = executableEstimatedDuration ; if ( d < 0 ) { return Messages . Executor_NotAvailable ( ) ; } long eta = d - getElapsedTime ( ) ; if ( eta <= 0 ) { return Messages . Executor_NotAvailable ( ) ; } return Util . getTimeSpanString ( eta ) ; }
Computes a human - readable text that shows the expected remaining time until the build completes .