示例#1
0
 public void updateStepsTotal(int stepsTotal, boolean resetStepsCompleted) {
   task.updateStepsTotal(stepsTotal);
   if (resetStepsCompleted) {
     task.getDetail().setStepsCompleted(0);
   }
 }
示例#2
0
 public void updateDescription(String description) {
   task.updateDescription(description);
 }
示例#3
0
 /** Logs an error message. */
 public void logError(String message) {
   task.logError(message);
 }
示例#4
0
 /** Logs an info message. */
 public void logInfo(String message) {
   task.logInfo(message);
 }
示例#5
0
 /**
  * Notifies the DAO that a step has been completed.
  *
  * @throws JobInterruptedException if the job has been interrupted
  */
 public void stepCompleted() throws JobInterruptedException {
   task.stepCompleted();
 }
示例#6
0
 /** Returns the objectId. */
 public String getObjectId() {
   return task.getDetail().getObjectId();
 }