de.schwarzrot.concurrent
Class Task
java.lang.Object
de.schwarzrot.concurrent.Task
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- ContextTask, VContextTask
public abstract class Task
- extends Object
- implements Runnable
wrapper around Runnable
to add easy access to
ProgressPublisher
.
- Author:
- Reinhard Mantey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
run |
Task
public Task()
Task
public Task(ProgressPublisher pp)
getProgressPublisher
public ProgressPublisher getProgressPublisher()
getSuccessState
public final boolean getSuccessState()
isExecutionTerminated
public final boolean isExecutionTerminated()
setExecutionTerminated
public final void setExecutionTerminated(boolean executionTerminated)
setProgressPublisher
public void setProgressPublisher(ProgressPublisher pp)
setSuccessState
public final void setSuccessState(boolean success)
getLogger
protected final org.apache.commons.logging.Log getLogger()
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.