org.mbari.siam.core
Class ScheduleTaskImpl
java.lang.Object
org.mbari.siam.core.ScheduleTask
org.mbari.siam.core.ScheduleTaskImpl
- All Implemented Interfaces:
- Schedulable
public class ScheduleTaskImpl
- extends ScheduleTask
An implementation of the abstract ScheduleTask.
Implements execute method, which calls getData();
- Author:
- Kent Headley
|
Method Summary |
void |
execute()
Subclasses must implement. |
| Methods inherited from class org.mbari.siam.core.ScheduleTask |
cancelTimer, equals, fakeJob, get, getEntryTime, getEntryTime, getKey, getLongCycles, getName, getOwner, getOwnerID, getOwnerName, getPeriod, getScheduleSpecifier, getState, getStateName, getTimer, getTimerTask, getTZ, isAbsolute, isMasked, isReady, isReady, isRelative, isSelectedTime, parse, rescheduleTimer, rescheduleTimer, resetAbsoluteTimer, resetTimer, resume, setKey, setKey, setLongCycles, setName, setOwnerID, setOwnerName, setSpecifier, setState, setTimer, setTimerTask, sleepingUntil, suspend, sync, sync, timeRemaining, timeRemaining, toString, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScheduleTaskImpl
public ScheduleTaskImpl()
ScheduleTaskImpl
public ScheduleTaskImpl(java.lang.String name,
java.lang.String schedule,
ScheduleOwner owner)
throws ScheduleParseException
- Constructor
- Parameters:
schedule - cron-like schedulename - schedule nameowner - owner of this ScheduleTask
- Throws:
ScheduleParseException
ScheduleTaskImpl
public ScheduleTaskImpl(java.lang.String name,
ScheduleSpecifier schedule,
ScheduleOwner owner)
throws ScheduleParseException
- Constructor
- Parameters:
schedule - ScheduleSpecifiername - schedule nameowner - owner of this ScheduleTask
- Throws:
ScheduleParseException
ScheduleTaskImpl
public ScheduleTaskImpl(java.lang.String name,
long interval,
ScheduleOwner owner)
throws ScheduleParseException
- Constructor
- Parameters:
interval - sample intervalname - schedule nameowner - owner of this ScheduleTask
- Throws:
ScheduleParseException
execute
public void execute()
- Description copied from class:
ScheduleTask
- Subclasses must implement. Fulfills Schedulable interface
- Specified by:
execute in interface Schedulable- Specified by:
execute in class ScheduleTask
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.