Class AUSOTDownloadTask
java.lang.Object
org.deltava.taskman.Task
org.deltava.tasks.AUSOTDownloadTask
- All Implemented Interfaces:
Comparable<Task>, Runnable, Thread.UncaughtExceptionHandler
A Scheduled Task to download AUSOT data.
- Since:
- 2.7
- Version:
- 11.6
- Author:
- Luke
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Task
compareTo, getEnabled, getID, getLastRunTime, getName, getRunCount, getStartTime, hashCode, isRunnable, logError, run, run, setEnabled, setID, setLastExecTime, setRunTimes, setStartTime, uncaughtExceptionModifier and TypeMethodDescriptionintbooleanReturns if the Task is allowed to be executed.getID()Returns the Task ID.longReturns how the last execution duration of this Task.getName()Returns the Task name.intReturns the number of times this Task has been executed.Returns the when this Task was last started on.inthashCode()booleanReturns whether the Scheduled Task can be executed at the present time.protected voidError logger, sends error details to Log4J and NewRelic.voidrun()Executes the Task.voidExecutes the Task.voidsetEnabled(boolean enabled) Marks the Task as enabled to execute.voidSets the Task ID.voidsetLastExecTime(long execTime) Overrides the last execution duration for this Task.voidsetRunTimes(String intervalType, String values) Sets the time of the day this Task may run in.voidsetStartTime(Instant dt) Overrides the last execution time for this Task.voiduncaughtException(Thread t, Throwable e)