org.schmant.run
Interface ReadOnlyTaskExecutorStatus

All Known Implementing Classes:
ReadOnlyTaskExecutorStatusImpl

public interface ReadOnlyTaskExecutorStatus

This interface defines a read-only view of a TaskExecutorStatus. It is used where read only information about the task execution should be published.

The synchronization locks that protect the task executor's status are not accessible from implementations of this interface.

Since:
0.6
Author:
Karl Gustafsson

Method Summary
 boolean hasErrors()
          Have there been errors when executing tasks?
 boolean isDone()
          Is the TaskExecutor finished?
 

Method Detail

hasErrors

boolean hasErrors()
Have there been errors when executing tasks?

Returns:
true if there have been errors.

isDone

boolean isDone()
Is the TaskExecutor finished?

Returns:
true if the task executor is finished.