org.knime.core.node.workflow
Class WorkflowPersistor.LoadResultEntry

java.lang.Object
  extended by org.knime.core.node.workflow.WorkflowPersistor.LoadResultEntry
Direct Known Subclasses:
WorkflowPersistor.LoadResult
Enclosing interface:
WorkflowPersistor

public static class WorkflowPersistor.LoadResultEntry
extends Object


Nested Class Summary
static class WorkflowPersistor.LoadResultEntry.LoadResultEntryType
           
 
Constructor Summary
WorkflowPersistor.LoadResultEntry(WorkflowPersistor.LoadResultEntry.LoadResultEntryType type, String message)
           
 
Method Summary
 WorkflowPersistor.LoadResultEntry[] getChildren()
           
 String getFilteredError(String indent, WorkflowPersistor.LoadResultEntry.LoadResultEntryType filter)
          Returns error message of this element and all of its children.
 String getMessage()
           
 WorkflowPersistor.LoadResultEntry.LoadResultEntryType getType()
           
 boolean hasErrors()
           
 boolean hasWarningEntries()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowPersistor.LoadResultEntry

public WorkflowPersistor.LoadResultEntry(WorkflowPersistor.LoadResultEntry.LoadResultEntryType type,
                                         String message)
Method Detail

getType

public WorkflowPersistor.LoadResultEntry.LoadResultEntryType getType()
Returns:
the type

getMessage

public String getMessage()
Returns:
the message

hasWarningEntries

public boolean hasWarningEntries()
Returns:
the hasErrorDuringNonDataLoad

hasErrors

public boolean hasErrors()
Returns:
the hasErrorDuringNonDataLoad

getChildren

public WorkflowPersistor.LoadResultEntry[] getChildren()

toString

public String toString()

Overrides:
toString in class Object

getFilteredError

public String getFilteredError(String indent,
                               WorkflowPersistor.LoadResultEntry.LoadResultEntryType filter)
Returns error message of this element and all of its children.

Parameters:
indent - The indentation of the string (increased for children)
filter - A filter for the least severity level
Returns:
The string.


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.