SRJRCFrames
v0.1.296

de.schwarzrot.concurrent
Class ContextTask

java.lang.Object
  extended by de.schwarzrot.concurrent.Task
      extended by de.schwarzrot.concurrent.ContextTask
All Implemented Interfaces:
Runnable

public abstract class ContextTask
extends Task

a task that takes a context object. Main usage is to avoid to have to declare related objects final.

Author:
Reinhard Mantey
See Also:
Task

Constructor Summary
ContextTask(Object contextObj)
           
ContextTask(Object contextObj, ProgressPublisher pp)
           
 
Method Summary
 Object getContext()
           
 
Methods inherited from class de.schwarzrot.concurrent.Task
getLogger, getProgressPublisher, getSuccessState, isExecutionTerminated, setExecutionTerminated, setProgressPublisher, setSuccessState
 
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

ContextTask

public ContextTask(Object contextObj)

ContextTask

public ContextTask(Object contextObj,
                   ProgressPublisher pp)
Method Detail

getContext

public Object getContext()

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.