org.qi4j.library.scheduler.timeline
Class TimelineForScheduleConcern

java.lang.Object
  extended by org.qi4j.api.concern.ConcernOf<Schedule>
      extended by org.qi4j.library.scheduler.timeline.TimelineForScheduleConcern
All Implemented Interfaces:
Identity, Schedule

public abstract class TimelineForScheduleConcern
extends ConcernOf<Schedule>
implements Schedule


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Field Summary
 
Fields inherited from class org.qi4j.api.concern.ConcernOf
next
 
Constructor Summary
TimelineForScheduleConcern()
           
 
Method Summary
 void taskCompletedSuccessfully()
          Called directly after the Runnable.run() method has been completed and returned from the method normally.
 void taskCompletedWithException(java.lang.RuntimeException ex)
          Called directly after the Runnable.run() method has been completed but threw a RuntimeException.
 void taskStarting()
          Called just before the Runnable.run() method is called.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.qi4j.library.scheduler.schedule.Schedule
isTaskRunning, nextRun, presentationString, start, task
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 

Constructor Detail

TimelineForScheduleConcern

public TimelineForScheduleConcern()
Method Detail

taskStarting

public void taskStarting()
Description copied from interface: Schedule
Called just before the Runnable.run() method is called.

Specified by:
taskStarting in interface Schedule

taskCompletedSuccessfully

public void taskCompletedSuccessfully()
Description copied from interface: Schedule
Called directly after the Runnable.run() method has been completed and returned from the method normally.

Specified by:
taskCompletedSuccessfully in interface Schedule

taskCompletedWithException

public void taskCompletedWithException(java.lang.RuntimeException ex)
Description copied from interface: Schedule
Called directly after the Runnable.run() method has been completed but threw a RuntimeException.

Specified by:
taskCompletedWithException in interface Schedule