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

java.lang.Object
  extended by org.knime.core.node.workflow.execresult.NodeExecutionResult
All Implemented Interfaces:
NodeContentPersistor

public class NodeExecutionResult
extends Object
implements NodeContentPersistor

Author:
wiswedel, University of Konstanz

Constructor Summary
NodeExecutionResult()
           
 
Method Summary
 BufferedDataTable[] getInternalHeldTables()
          
 ReferencedFile getNodeInternDirectory()
          
 PortObject getPortObject(int outportIndex)
          
 PortObjectSpec getPortObjectSpec(int outportIndex)
          
 String getPortObjectSummary(int outportIndex)
          
 String getWarningMessage()
          
 boolean hasContent()
          
 boolean mustWarnOnDataLoadError()
          
 boolean needsResetAfterLoad()
          
 void setInternalHeldTables(BufferedDataTable[] internalHeldTables)
           
 void setNeedsResetAfterLoad()
          Indicate an error and that this node should better be reset after load.
 void setNodeInternDir(ReferencedFile nodeInternDir)
           
 void setPortObjects(PortObject[] portObjects)
           
 void setPortObjectSpecs(PortObjectSpec[] portObjectSpecs)
           
 void setWarningMessage(String warningMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeExecutionResult

public NodeExecutionResult()
Method Detail

getInternalHeldTables

public BufferedDataTable[] getInternalHeldTables()

Specified by:
getInternalHeldTables in interface NodeContentPersistor

getNodeInternDirectory

public ReferencedFile getNodeInternDirectory()

Specified by:
getNodeInternDirectory in interface NodeContentPersistor

getPortObject

public PortObject getPortObject(int outportIndex)

Specified by:
getPortObject in interface NodeContentPersistor

getPortObjectSpec

public PortObjectSpec getPortObjectSpec(int outportIndex)

Specified by:
getPortObjectSpec in interface NodeContentPersistor

getPortObjectSummary

public String getPortObjectSummary(int outportIndex)

Specified by:
getPortObjectSummary in interface NodeContentPersistor

getWarningMessage

public String getWarningMessage()

Specified by:
getWarningMessage in interface NodeContentPersistor

mustWarnOnDataLoadError

public boolean mustWarnOnDataLoadError()

Specified by:
mustWarnOnDataLoadError in interface NodeContentPersistor

needsResetAfterLoad

public boolean needsResetAfterLoad()

Specified by:
needsResetAfterLoad in interface NodeContentPersistor

setNeedsResetAfterLoad

public void setNeedsResetAfterLoad()
Indicate an error and that this node should better be reset after load.

Specified by:
setNeedsResetAfterLoad in interface NodeContentPersistor

setInternalHeldTables

public void setInternalHeldTables(BufferedDataTable[] internalHeldTables)
Parameters:
internalHeldTables - the internalHeldTables to set

setNodeInternDir

public void setNodeInternDir(ReferencedFile nodeInternDir)
Parameters:
nodeInternDir - the referencedFile to set

hasContent

public boolean hasContent()

Specified by:
hasContent in interface NodeContentPersistor

setWarningMessage

public void setWarningMessage(String warningMessage)
Parameters:
warningMessage - the warningMessage to set

setPortObjects

public void setPortObjects(PortObject[] portObjects)
Parameters:
portObjects - the portObjects to set

setPortObjectSpecs

public void setPortObjectSpecs(PortObjectSpec[] portObjectSpecs)
Parameters:
portObjectSpecs - the portObjectSpecs to set


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.