bundles/org.eclipse.packagedrone.job.web/src/org/eclipse/packagedrone/job/web/internal/JobController.java
@RequestMapping ( "/{id}/monitor" )
    public ModelAndView monitor ( @PathVariable ( "id" ) final String id)
    {
        final JobHandle job = this.manager.getJob ( id );

        if ( job != null )
        {
            logger.debug ( "Job: {} - {}", job.getId (), job.getState () );
        }
        else
        {
            logger.debug ( "No job: {}", id );
        }

        final Map<String, Object> model = new HashMap<> ( 1 );
        model.put ( "job", job );
        return new ModelAndView ( "monitor", model );
    }
@RequestMapping ( "/{id}/monitor" )
    public ModelAndView monitor ( @PathVariable ( "id" ) final String id)
    {
        final JobHandle job = this.manager.getJob ( id );

        if ( job != null )
        {
            logger.debug ( "Job: {} - {}", job.getId (), job.getState () );
        }
        else
        {
            logger.debug ( "No job: {}", id );
        }

        final Map<String, Object> model = new HashMap<> ( 1 );
        model.put ( "job", job );
        return new ModelAndView ( "monitor", model );
    }
@ RequestMapping ( "/{id}/monitor" ) public ModelAndView monitor ( @ PathVariable ( "id" ) final String id ) { final JobHandle job = this . manager . getJob ( id ) ; if ( job != null ) { logger . debug ( "Job: {} - {}" , job . getId ( ) , job . getState ( ) ) ; } else { logger . debug ( "No job: {}" , id ) ; } final Map < String , Object > model = new HashMap <> ( 1 ) ; model . put ( "job" , job ) ; return new ModelAndView ( "monitor" , model ) ; }
Monitor the job, only produces an HTML fragment of the current job state

@param id
the job id
@return the view
Monitor the job only produces an HTML fragment of the current job state