1 21 package com.jaspersoft.jasperserver.api.engine.scheduling.service; 22 23 import com.jaspersoft.jasperserver.api.common.domain.ExecutionContext; 24 import com.jaspersoft.jasperserver.api.engine.scheduling.domain.ReportJob; 25 import com.jaspersoft.jasperserver.api.engine.scheduling.domain.ReportJobRuntimeInformation; 26 27 31 public interface ReportJobsScheduler { 32 33 void scheduleJob(ExecutionContext context, ReportJob job); 34 35 void rescheduleJob(ExecutionContext context, ReportJob job); 36 37 void removeScheduledJob(ExecutionContext context, long jobId); 38 39 void addReportSchedulerListener(ReportSchedulerListener listener); 40 41 void removeReportSchedulerListener(ReportSchedulerListener listener); 42 43 ReportJobRuntimeInformation[] getJobsRuntimeInformation(ExecutionContext context, long[] jobIds); 44 45 } 46 | Popular Tags |