API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.scheduler. JOTScheduledItem View Source
Author(s)
Since
Version
Serial
Hierarchy
 JOTScheduledItem
Subinterfaces
Description
public interface JOTScheduledItem
A scheduledItem is an object that should run an action on a specific schedule Implement this interface to create your own scheduled object.
See also:   
Methods
Hide/Show inherited methods
public boolean forceRun ()
Implement if you want to FORCE a run right away (well within a few ms anyway) Returns false by default.
public void run ()
  Implement here what should be run at the scheduled time.
public void runCompleted ()
  Will be called once a run has completed.
public boolean skipRun ()
Implement if you want to skip run in particular cases (say while you do something else) Or just return false to never skip.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar