org.squashtest.tm.domain.library
Enum WhichNodeVisitor.NodeType

java.lang.Object
  extended by java.lang.Enum<WhichNodeVisitor.NodeType>
      extended by org.squashtest.tm.domain.library.WhichNodeVisitor.NodeType
All Implemented Interfaces:
Serializable, Comparable<WhichNodeVisitor.NodeType>
Enclosing class:
WhichNodeVisitor

public static enum WhichNodeVisitor.NodeType
extends Enum<WhichNodeVisitor.NodeType>


Enum Constant Summary
CAMPAIGN
           
CAMPAIGN_FOLDER
           
CAMPAIGN_LIBRARY
           
ITERATION
           
REQUIREMENT
           
REQUIREMENT_FOLDER
           
REQUIREMENT_LIBRARY
           
TEST_CASE
           
TEST_CASE_FOLDER
           
TEST_CASE_LIBRARY
           
TEST_SUITE
           
UNDEFINED
           
 
Method Summary
static WhichNodeVisitor.NodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WhichNodeVisitor.NodeType[] 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

CAMPAIGN_LIBRARY

public static final WhichNodeVisitor.NodeType CAMPAIGN_LIBRARY

REQUIREMENT_LIBRARY

public static final WhichNodeVisitor.NodeType REQUIREMENT_LIBRARY

TEST_CASE_LIBRARY

public static final WhichNodeVisitor.NodeType TEST_CASE_LIBRARY

CAMPAIGN_FOLDER

public static final WhichNodeVisitor.NodeType CAMPAIGN_FOLDER

REQUIREMENT_FOLDER

public static final WhichNodeVisitor.NodeType REQUIREMENT_FOLDER

TEST_CASE_FOLDER

public static final WhichNodeVisitor.NodeType TEST_CASE_FOLDER

TEST_CASE

public static final WhichNodeVisitor.NodeType TEST_CASE

REQUIREMENT

public static final WhichNodeVisitor.NodeType REQUIREMENT

CAMPAIGN

public static final WhichNodeVisitor.NodeType CAMPAIGN

ITERATION

public static final WhichNodeVisitor.NodeType ITERATION

TEST_SUITE

public static final WhichNodeVisitor.NodeType TEST_SUITE

UNDEFINED

public static final WhichNodeVisitor.NodeType UNDEFINED
Method Detail

values

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

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

valueOf

public static WhichNodeVisitor.NodeType 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


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.