org.knime.core.node.workflow.execresult
Class SingleNodeContainerExecutionResult

java.lang.Object
  extended by org.knime.core.node.workflow.execresult.NodeContainerExecutionResult
      extended by org.knime.core.node.workflow.execresult.SingleNodeContainerExecutionResult
All Implemented Interfaces:
NodeContainerExecutionStatus

public class SingleNodeContainerExecutionResult
extends NodeContainerExecutionResult

Specialized execution result for SingleNodeContainer. Offers access to the node's execution result (containing port objects and possibly internals).

Author:
Bernd Wiswedel, University of Konstanz

Field Summary
 
Fields inherited from interface org.knime.core.node.workflow.execresult.NodeContainerExecutionStatus
FAILURE, SUCCESS
 
Constructor Summary
SingleNodeContainerExecutionResult()
           
 
Method Summary
 NodeContainerExecutionStatus getChildStatus(int idSuffix)
          Query the execution status for a child given its node id suffix.
 NodeExecutionResult getNodeExecutionResult()
           
 void setNodeExecutionResult(NodeExecutionResult nodeExecutionResult)
           
 
Methods inherited from class org.knime.core.node.workflow.execresult.NodeContainerExecutionResult
getLogger, getNodeMessage, isSuccess, needsResetAfterLoad, setMessage, setNeedsResetAfterLoad, setSuccess, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleNodeContainerExecutionResult

public SingleNodeContainerExecutionResult()
Method Detail

getNodeExecutionResult

public NodeExecutionResult getNodeExecutionResult()
Returns:
The execution result for the node.

setNodeExecutionResult

public void setNodeExecutionResult(NodeExecutionResult nodeExecutionResult)
Parameters:
nodeExecutionResult - the result to set
Throws:
NullPointerException - If argument is null.

getChildStatus

public NodeContainerExecutionStatus getChildStatus(int idSuffix)
Query the execution status for a child given its node id suffix. If the child is unknown, the implementation should return NodeContainerExecutionStatus.FAILURE.

Parameters:
idSuffix - The child id suffix
Returns:
The child execution status.


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.