public class TaskScheduler
extends java.lang.Object
Constructor and Description |
---|
TaskScheduler(Errata errataIn,
Org orgIn)
Create a scheduler that has both an errata and an org.
|
TaskScheduler(Org orgIn)
Create a scheduler that only has the org set.
|
Modifier and Type | Method and Description |
---|---|
void |
runTasksByChannelNow()
Gets all of the tasks which have been set by channel name, and updates their
earliest attribute to now.
|
void |
updateByChannels()
This method inserts/updates tasks by the channels in an errata.
|
public TaskScheduler(Org orgIn)
orgIn
- The org containing the tasks to be run.public TaskScheduler(Errata errataIn, Org orgIn)
errataIn
- The errata containing the channels you wish to operate on.orgIn
- The org for the userpublic void updateByChannels()
public void runTasksByChannelNow()