org.knime.core.node.workflow
Enum WorkflowPersistorVersion200.LoadVersion

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

static enum WorkflowPersistorVersion200.LoadVersion
extends Enum<WorkflowPersistorVersion200.LoadVersion>

A Version representing a specific workflow format. This enum covers only the version that this specific class can read (or write). Ordinal numbering is important.


Enum Constant Summary
V200
          Version 2.0.0 - 2.0.x.
V210
          Version 2.1.x.
V210_Pre
          Trunk version when 2.0.x was out, covers cluster and server prototypes.
 
Method Summary
(package private) static WorkflowPersistorVersion200.LoadVersion get(String string)
          Get the load version for the version string or null if unknown.
 String getVersionString()
           
static WorkflowPersistorVersion200.LoadVersion valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WorkflowPersistorVersion200.LoadVersion[] 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

V200

public static final WorkflowPersistorVersion200.LoadVersion V200
Version 2.0.0 - 2.0.x.


V210_Pre

public static final WorkflowPersistorVersion200.LoadVersion V210_Pre
Trunk version when 2.0.x was out, covers cluster and server prototypes. Obsolete since 2009-08-12.


V210

public static final WorkflowPersistorVersion200.LoadVersion V210
Version 2.1.x.

Method Detail

values

public static WorkflowPersistorVersion200.LoadVersion[] 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 (WorkflowPersistorVersion200.LoadVersion c : WorkflowPersistorVersion200.LoadVersion.values())
    System.out.println(c);

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

valueOf

public static WorkflowPersistorVersion200.LoadVersion 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

getVersionString

public String getVersionString()
Returns:
The String representing the LoadVersion (workflow.knime).

get

static WorkflowPersistorVersion200.LoadVersion get(String string)
Get the load version for the version string or null if unknown.

Parameters:
string - Version string (as in workflow.knime).
Returns:
The LoadVersion or null.


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.