org.knime.base.node.util.exttool
Class CommandExecution.CheckCanceledRunnable

java.lang.Object
  extended by org.knime.base.node.util.exttool.CommandExecution.CheckCanceledRunnable
All Implemented Interfaces:
Runnable
Enclosing class:
CommandExecution

 class CommandExecution.CheckCanceledRunnable
extends Object
implements Runnable

Author:
Kilian Thiel, University of Konstanz

Constructor Summary
CommandExecution.CheckCanceledRunnable(Process proc, MutableBoolean done, ExecutionMonitor exec)
          Creates a new runnable for a thread that should check periodically for user cancellations in the specified exec context.
 
Method Summary
 void run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandExecution.CheckCanceledRunnable

CommandExecution.CheckCanceledRunnable(Process proc,
                                       MutableBoolean done,
                                       ExecutionMonitor exec)
Creates a new runnable for a thread that should check periodically for user cancellations in the specified exec context.

Parameters:
proc - the process to kill after user cancellations.
done - flag which causes this runnable to finish if set true
exec - to check for user cancellations.
Method Detail

run

public void run()

Specified by:
run in interface Runnable


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.