robe-admin/src/main/java/io/robe/admin/resources/JobResource.java
@RobeService(group = "HJobInfo", description = "Returns all HTriggerInfo as a collection with the matches given job id.")
    @PUT
    @Path("{id}/resume")
    @UnitOfWork
    public boolean resume(@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().resumeJob(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}/resume")
    @UnitOfWork
    public boolean resume(@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().resumeJob(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}/resume" ) @ UnitOfWork public boolean resume ( @ 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 ( ) . resumeJob ( 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 .