org.schmant.run
Class ReadOnlyTaskExecutorStatusImpl

java.lang.Object
  extended by org.schmant.run.ReadOnlyTaskExecutorStatusImpl
All Implemented Interfaces:
ReadOnlyTaskExecutorStatus

public class ReadOnlyTaskExecutorStatusImpl
extends Object
implements ReadOnlyTaskExecutorStatus

Default implementation of the ReadOnlyTaskExecutorStatus interface. This wraps a TaskExecutorStatus object.

Since:
0.5
Author:
Karl Gustafsson

Constructor Summary
protected ReadOnlyTaskExecutorStatusImpl(TaskExecutorStatus s)
           
 
Method Summary
 boolean hasErrors()
          Have there been errors when executing tasks?
 boolean isDone()
          Is the TaskExecutor finished?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadOnlyTaskExecutorStatusImpl

protected ReadOnlyTaskExecutorStatusImpl(TaskExecutorStatus s)
Method Detail

hasErrors

public boolean hasErrors()
Description copied from interface: ReadOnlyTaskExecutorStatus
Have there been errors when executing tasks?

Specified by:
hasErrors in interface ReadOnlyTaskExecutorStatus
Returns:
true if there have been errors.

isDone

public boolean isDone()
Description copied from interface: ReadOnlyTaskExecutorStatus
Is the TaskExecutor finished?

Specified by:
isDone in interface ReadOnlyTaskExecutorStatus
Returns:
true if the task executor is finished.