org.knime.core.node.exec
Class ThreadNodeExecutionJobManagerFactory

java.lang.Object
  extended by org.knime.core.node.exec.ThreadNodeExecutionJobManagerFactory
All Implemented Interfaces:
NodeExecutionJobManagerFactory

public class ThreadNodeExecutionJobManagerFactory
extends Object
implements NodeExecutionJobManagerFactory

Author:
wiswedel, University of Konstanz

Field Summary
static ThreadNodeExecutionJobManagerFactory INSTANCE
           
 
Constructor Summary
ThreadNodeExecutionJobManagerFactory()
           
 
Method Summary
 String getID()
          Returns a unique ID of this job manager implementations.
 NodeExecutionJobManager getInstance()
          Get an instance for use in a node.
 String getLabel()
          Returns a user readable - but still most likely unique - label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.knime.core.node.workflow.NodeExecutionJobManagerFactory
toString
 

Field Detail

INSTANCE

public static final ThreadNodeExecutionJobManagerFactory INSTANCE
Constructor Detail

ThreadNodeExecutionJobManagerFactory

public ThreadNodeExecutionJobManagerFactory()
Method Detail

getID

public String getID()
Returns a unique ID of this job manager implementations. Preferably this is the fully qualifying name of its package.
For a user readable label, see NodeExecutionJobManagerFactory.toString()

Specified by:
getID in interface NodeExecutionJobManagerFactory
Returns:
a unique ID of this job manager implementations

getLabel

public String getLabel()
Returns a user readable - but still most likely unique - label. This is displayed in dialogs and user messages.

Specified by:
getLabel in interface NodeExecutionJobManagerFactory
Returns:
a user readable label for this job manager

getInstance

public NodeExecutionJobManager getInstance()
Get an instance for use in a node. It is to the discretion of implementing classes to return a new instance or a singleton here, whereby the latter should be returned if the job manager can not be parameterized.

Specified by:
getInstance in interface NodeExecutionJobManagerFactory
Returns:
a new instance of a job manager or a singleton.


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.