@RobeService(group = "HJobInfo", description = "Returns all HTriggerInfo as a collection with the matches given job id.")
    @PUT
    @Path(" {
    """
	Returns all HTriggerInfo as a collection with the matches given job id.
	
	@param credentials auto fill by {@link RobeAuth} annotation for authentication.
	@return all {@link HTriggerInfo} as a collection
    """id}/pause")
    @UnitOfWork(readOnly = true, cacheMode = GET, flushMode = FlushMode.MANUAL)
    public boolean pause(@RobeAuth Credentials credentials, @PathParam("id") String id) {
        HJobInfo info = jobDao.findById(id);
        if (info == null) {
            throw new WebApplicationException(Response.status(404).build());
        }
        try {
            JobManager.getInstance().pauseJob(info.getName(), info.getGroup());
        } catch (SchedulerException e) {
            e.printStackTrace();
            return false;
        }
        return true;
    }
@RobeService(group = "HJobInfo", description = "Returns all HTriggerInfo as a collection with the matches given job id.")
    @PUT
    @Path("{id}/pause")
    @UnitOfWork(readOnly = true, cacheMode = GET, flushMode = FlushMode.MANUAL)
    public boolean pause(@RobeAuth Credentials credentials, @PathParam("id") String id) {
        HJobInfo info = jobDao.findById(id);
        if (info == null) {
            throw new WebApplicationException(Response.status(404).build());
        }
        try {
            JobManager.getInstance().pauseJob(info.getName(), info.getGroup());
        } catch (SchedulerException e) {
            e.printStackTrace();
            return false;
        }
        return true;
    }
@ RobeService ( group = "HJobInfo" , description = "Returns all HTriggerInfo as a collection with the matches given job id." ) @ PUT @ Path ( "{id}/pause" ) @ UnitOfWork ( readOnly = true , cacheMode = GET , flushMode = FlushMode . MANUAL ) public boolean pause ( @ RobeAuth Credentials credentials , @ PathParam ( "id" ) String id ) { HJobInfo info = jobDao . findById ( id ) ; if ( info == null ) { throw new WebApplicationException ( Response . status ( 404 ) . build ( ) ) ; } try { JobManager . getInstance ( ) . pauseJob ( info . getName ( ) , info . getGroup ( ) ) ; } catch ( SchedulerException e ) { e . printStackTrace ( ) ; return false ; } return true ; }
Returns all HTriggerInfo as a collection with the matches given job id.

@param credentials auto fill by {@link RobeAuth} annotation for authentication.
@return all {@link HTriggerInfo} as a collection
Returns all HTriggerInfo as a collection with the matches given job id .