code: public TaskMode getTaskMode()
     {
        return BooleanHelper.getBoolean((Boolean) getCachedValue(TaskField.TASK_MODE)) ? TaskMode.MANUALLY_SCHEDULED : TaskMode.AUTO_SCHEDULED;
     }
docs: Retrieves the task mode.
  
  @return task mode