Package jadex.bridge.service.types.cron
Interface ICronService
-
public interface ICronService
Interface for adding and removing cron jobs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> ISubscriptionIntermediateFuture<T>
addJob(CronJob<T> job)
Add a schedule job.IFuture<java.lang.Boolean>
containsJob(java.lang.String jobid)
Test if a job is scheduled with an id.IFuture<java.lang.Void>
removeJob(java.lang.String jobid)
Remove a schedule job.
-
-
-
Method Detail
-
addJob
<T> ISubscriptionIntermediateFuture<T> addJob(CronJob<T> job)
Add a schedule job.- Parameters:
job
- The cron job.
-
removeJob
IFuture<java.lang.Void> removeJob(java.lang.String jobid)
Remove a schedule job.- Parameters:
jobid
- The jobid.
-
containsJob
IFuture<java.lang.Boolean> containsJob(java.lang.String jobid)
Test if a job is scheduled with an id.- Parameters:
jobid
- The jobid.
-
-