|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Mixins(value={ScheduleMixin.class,ScheduleEntityMixin.class}) public interface ScheduleEntity
A Schedule computes its next run based on its cron expression.
Cron expression syntax is documented in CronExpressionConstraint
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.qi4j.api.unitofwork.UnitOfWorkCallback |
---|
UnitOfWorkCallback.UnitOfWorkStatus |
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity |
---|
Identity.IdentityMixin |
Method Summary | |
---|---|
Long |
firstRunAfter(Long start)
|
Property<Long> |
nextRun()
|
Property<Boolean> |
running()
|
Property<Long> |
start()
|
Association<Task> |
task()
|
Methods inherited from interface org.qi4j.library.scheduler.schedule.Schedule |
---|
cronExpression, durable, isTaskRunning, schedulerIdentity |
Methods inherited from interface org.qi4j.api.unitofwork.UnitOfWorkCallback |
---|
afterCompletion, beforeCompletion |
Methods inherited from interface org.qi4j.api.entity.Identity |
---|
identity |
Methods inherited from interface org.qi4j.api.composite.Composite |
---|
metaInfo, type |
Method Detail |
---|
Association<Task> task()
Property<Long> start()
@Optional Property<Long> nextRun()
@UseDefaults Property<Boolean> running()
Long firstRunAfter(Long start)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |