/** * Save a task in the database. * * @param task the <code>TaskDefinition</code> to save * @deprecated use saveTaskDefinition which follows correct naming standard */ public void saveTask(TaskDefinition task) { Context.getSchedulerService().saveTaskDefinition(task); }
public SchedulerService getSchedulerService() { return Context.getSchedulerService(); }