protected boolean isTaskSuccessful(TaskStatus taskStatus){
  return (TaskStatus.READY == taskStatus);
}

protected boolean isTaskSuccessful ( TaskStatus taskStatus ) { return ( TaskStatus . READY == taskStatus ) ; }
determines if the passed status indicates the task was successful . override in derived classes as appropriate . when overridden be sure to consider istaskfailed as well .
