net.sourceforge.basher.internal.impl
Class DecoratedTask
java.lang.Object
net.sourceforge.basher.tasks.AbstractTask
net.sourceforge.basher.internal.impl.DecoratedTask
- All Implemented Interfaces:
- Task
public abstract class DecoratedTask
- extends AbstractTask
Empty task extending the AbstractTask
class. This class is used if the TaskManager
receives
a class (as a task) which neither extends AbstractTask
nor implements Task
and is declared
final. The task will be wrapped by this class and calls to the task are proxied.
- Version:
- $Revision$
- Author:
- Johan Lindquist
Method Summary |
protected abstract void |
doExecuteTask()
|
void |
executeTask()
Main method called by a component to execute this Task . |
DecoratedTask
public DecoratedTask()
executeTask
public void executeTask()
throws Throwable
- Description copied from interface:
Task
- Main method called by a component to execute this
Task
. This should ensure that
counters of failures/successes are kept up to date.
- Throws:
Throwable
- The re-thrown exception thrown by the task
doExecuteTask
protected abstract void doExecuteTask()
throws Throwable
- Throws:
Throwable
Copyright © 2006-2010 Basher Team. All Rights Reserved.