org.quattor.pan.tasks
Enum TaskResult.ResultType

java.lang.Object
  extended by java.lang.Enum<TaskResult.ResultType>
      extended by org.quattor.pan.tasks.TaskResult.ResultType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TaskResult.ResultType>
Enclosing class:
TaskResult

public static enum TaskResult.ResultType
extends java.lang.Enum<TaskResult.ResultType>

Enumerated type of the possible types of results. Used to generate statistical information about a given run of the compiler.

Author:
loomis

Enum Constant Summary
ANNOTATION
           
BUILD
           
COMPILED
           
DEP
           
VALID1
           
VALID2
           
XML
           
 
Method Summary
static TaskResult.ResultType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TaskResult.ResultType[] 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

COMPILED

public static final TaskResult.ResultType COMPILED

BUILD

public static final TaskResult.ResultType BUILD

VALID1

public static final TaskResult.ResultType VALID1

VALID2

public static final TaskResult.ResultType VALID2

XML

public static final TaskResult.ResultType XML

DEP

public static final TaskResult.ResultType DEP

ANNOTATION

public static final TaskResult.ResultType ANNOTATION
Method Detail

values

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

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

valueOf

public static TaskResult.ResultType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2011 Quattor. All Rights Reserved.