br.eti.kinoshita.testlinkjavaapi.model
Enum ExecutionType

Package class diagram package ExecutionType
java.lang.Object
  extended by java.lang.Enum<ExecutionType>
      extended by br.eti.kinoshita.testlinkjavaapi.model.ExecutionType
All Implemented Interfaces:
Serializable, Comparable<ExecutionType>

public enum ExecutionType
extends Enum<ExecutionType>

Since:
1.9.0-1
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br

Enum Constant Summary
AUTOMATED
           
MANUAL
           
 
Method Summary
static ExecutionType getExecutionType(Integer integer)
           
 String toString()
           
static ExecutionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExecutionType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MANUAL

public static final ExecutionType MANUAL

AUTOMATED

public static final ExecutionType AUTOMATED
Method Detail

values

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

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

valueOf

public static ExecutionType 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

getExecutionType

public static ExecutionType getExecutionType(Integer integer)

toString

public String toString()
Overrides:
toString in class Enum<ExecutionType>


Copyright © 2010-2011 the testlink-java-api team-2011. All Rights Reserved.