public class TaskQueue extends java.util.ArrayList<Task>
Constructor and Description |
---|
TaskQueue() |
Modifier and Type | Method and Description |
---|---|
boolean |
areAllTasksAdded()
Return true if the task queue has all the required tasks,
else return false.
|
java.lang.String |
getExecutionErrorMessage()
Return the execution error message.
|
boolean |
hasExecutionCompleted()
Return true if the execution has completed;
else return false.
|
boolean |
hasExecutionError()
Return true if any execution error has occurred;
else return false.
|
boolean |
hasProcessingError()
Return true if any processing error has occurred;
else return false.
|
void |
setAllTasksAdded()
Set the value for allTasksAdded to true.
|
void |
setExecutionCompleted()
Set the value for executionCompleted to true.
|
void |
setExecutionError(java.lang.String errorMessage)
Set the execution error to the given value.
|
void |
setProcessingError()
Set the processing error to true.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public boolean areAllTasksAdded()
public java.lang.String getExecutionErrorMessage()
public boolean hasExecutionCompleted()
public boolean hasExecutionError()
public boolean hasProcessingError()
public void setAllTasksAdded()
public void setExecutionCompleted()
public void setExecutionError(java.lang.String errorMessage)
errorMessage
- Error message for the
execution error.public void setProcessingError()