/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package schedule;

/**
 * This interface lists all method required for succesfull operation of
 * scheduler.
 * 
 * @author Marcel Duris
 */
public interface IScheduler {

    /**
     * Used to restart scheduler in case of modification of configuration or
     * because it was stopped.
     */
    public void reschedule();

    /**
     * Clears configuration of scheduler.
     */
    public void clear();

    /**
     * Adds new task to scheduler.
     *
     * @param task to be executed.
     */
    public void addTask(ITask task);

}
