/** * Return the status of this task. Returns the value of {@link TaskExecutionStatus#toString()}. * * @return task status */ public String getStatus() { if (this.getLastTaskExecution() == null) { return TaskExecutionStatus.UNKNOWN.toString(); } else { return this.getLastTaskExecution().getTaskExecutionStatus().toString(); } }
/** * Return the status of this task. Returns the value of {@link TaskExecutionStatus#toString()}. * * @return task status */ public String getStatus() { if (this.getLastTaskExecution() == null) { return TaskExecutionStatus.UNKNOWN.toString(); } else { return this.getLastTaskExecution().getTaskExecutionStatus().toString(); } }