org.qi4j.library.scheduler.schedule
Interface ScheduleFactory

All Superinterfaces:
Composite, Identity, ServiceComposite
All Known Implementing Classes:
ScheduleFactory.Mixin

@Mixins(value=ScheduleFactory.Mixin.class)
public interface ScheduleFactory
extends ServiceComposite


Nested Class Summary
static class ScheduleFactory.Mixin
           
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Method Summary
 Schedule newCronSchedule(Task task, java.lang.String cronExpression, org.joda.time.DateTime start, boolean durable)
           
 Schedule newOnceSchedule(Task task, org.joda.time.DateTime runAt, boolean durable)
           
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 

Method Detail

newCronSchedule

Schedule newCronSchedule(Task task,
                         java.lang.String cronExpression,
                         org.joda.time.DateTime start,
                         boolean durable)

newOnceSchedule

Schedule newOnceSchedule(Task task,
                         org.joda.time.DateTime runAt,
                         boolean durable)