robe-admin/src/main/java/io/robe/admin/resources/TriggerResource.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) {
        HTriggerInfo info = triggerDao.findById(id);
        if (info == null) {
            throw new WebApplicationException(Response.status(404).build());
        }
        try {
            JobManager.getInstance().resumeTrigger(TriggerKey.triggerKey(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) {
        HTriggerInfo info = triggerDao.findById(id);
        if (info == null) {
            throw new WebApplicationException(Response.status(404).build());
        }
        try {
            JobManager.getInstance().resumeTrigger(TriggerKey.triggerKey(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 ) { HTriggerInfo info = triggerDao . findById ( id ) ; if ( info == null ) { throw new WebApplicationException ( Response . status ( 404 ) . build ( ) ) ; } try { JobManager . getInstance ( ) . resumeTrigger ( TriggerKey . triggerKey ( 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 .