protected Map < String , String > runningDetailsFor ( final JobInfo jobInfo ) { final Map < String , String > details = new HashMap <> ( ) ; details . put ( "Started" , ISO_DATE_TIME . format ( jobInfo . getStarted ( ) ) ) ; if ( jobInfo . getStopped ( ) . isPresent ( ) ) { details . put ( "Stopped" , ISO_DATE_TIME . format ( jobInfo . getStopped ( ) . get ( ) ) ) ; } return details ; }
Returns additional information like job uri running state started and stopped timestamps .