org.knime.core.node.workflow
Enum NodeContainer.State

java.lang.Object
  extended by java.lang.Enum<NodeContainer.State>
      extended by org.knime.core.node.workflow.NodeContainer.State
All Implemented Interfaces:
Serializable, Comparable<NodeContainer.State>
Enclosing class:
NodeContainer

public static enum NodeContainer.State
extends Enum<NodeContainer.State>

possible status values of a NodeContainer.


Enum Constant Summary
CONFIGURED
           
EXECUTED
           
EXECUTING
           
EXECUTINGREMOTELY
           
IDLE
           
MARKEDFOREXEC
           
POSTEXECUTE
           
PREEXECUTE
           
QUEUED
           
UNCONFIGURED_MARKEDFOREXEC
           
 
Method Summary
 boolean executionInProgress()
           
static NodeContainer.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NodeContainer.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IDLE

public static final NodeContainer.State IDLE

CONFIGURED

public static final NodeContainer.State CONFIGURED

UNCONFIGURED_MARKEDFOREXEC

public static final NodeContainer.State UNCONFIGURED_MARKEDFOREXEC

MARKEDFOREXEC

public static final NodeContainer.State MARKEDFOREXEC

QUEUED

public static final NodeContainer.State QUEUED

PREEXECUTE

public static final NodeContainer.State PREEXECUTE

EXECUTING

public static final NodeContainer.State EXECUTING

EXECUTINGREMOTELY

public static final NodeContainer.State EXECUTINGREMOTELY

POSTEXECUTE

public static final NodeContainer.State POSTEXECUTE

EXECUTED

public static final NodeContainer.State EXECUTED
Method Detail

values

public static NodeContainer.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NodeContainer.State c : NodeContainer.State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NodeContainer.State valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

executionInProgress

public boolean executionInProgress()
Returns:
Whether this state represents an intermediate state, i.e. where the node is either executing or in some way scheduled for execution.


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.