Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## schedule
Interface ISchedulable

All Known Subinterfaces:
  ITask

All Known Implementing Classes:
  Task, TaskTime

    public interface ISchedulable

Classes implementing this interface should be able to provide information necessary to schelude their execution time.

Field Summary
`static int` | `ANYTIME` Wildcard matching any parameter

Method Summary
`boolean` | `accepts(java.util.Date date)` Checks whether task should run at specified time.
`java.util.Date` | `nextDue()` Returns next time in future, when task is expected to be run.

Field Detail

### ANYTIME

    static final int ANYTIME

  Wildcard matching any parameter

  See Also:
    Constant Field Values

Method Detail

### nextDue

    java.util.Date nextDue()

  Returns next time in future, when task is expected to be run.

  Returns:
    Date object representing time, when task should be run.

### accepts

    boolean accepts(java.util.Date date)

  Checks whether task should run at specified time. This function should accept time generated by nextDue() function.

  Parameters:
    `date` - exact date
  Returns:
    true if and only if task can be scheduled at specified date

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD