SRJRCFrames
v0.1.296

de.schwarzrot.concurrent
Class Task

java.lang.Object
  extended by 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

Constructor Summary
Task()
           
Task(ProgressPublisher pp)
           
 
Method Summary
protected  org.apache.commons.logging.Log getLogger()
           
 ProgressPublisher getProgressPublisher()
           
 boolean getSuccessState()
           
 boolean isExecutionTerminated()
           
 void setExecutionTerminated(boolean executionTerminated)
           
 void setProgressPublisher(ProgressPublisher pp)
           
 void setSuccessState(boolean success)
           
 
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
 

Constructor Detail

Task

public Task()

Task

public Task(ProgressPublisher pp)
Method Detail

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()

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
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.