org.yawlfoundation.yawl.resourcing.util
Class CodeletRunner

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.util.CodeletRunner
All Implemented Interfaces:
Runnable

public class CodeletRunner
extends Object
implements Runnable

Executes a codelet in a separate thread, and announces its completion when done.

Author:
Michael Adams
Created/Last Date:
3/09/2010

Constructor Summary
CodeletRunner(WorkItemRecord wir, TaskInformation taskInfo, boolean init)
           
 
Method Summary
 void cancel()
           
 boolean persist()
           
 void run()
          Runs the codelet referenced by the work item passed to the constructor.
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeletRunner

public CodeletRunner(WorkItemRecord wir,
                     TaskInformation taskInfo,
                     boolean init)
Method Detail

run

public void run()
Runs the codelet referenced by the work item passed to the constructor.

Specified by:
run in interface Runnable

cancel

public void cancel()

shutdown

public void shutdown()

persist

public boolean persist()


Copyright © 2004-2012 The YAWL Foundation.