org.eigenbase.inventory
Enum EigenbaseComponentCategory

java.lang.Object
  extended by java.lang.Enum<EigenbaseComponentCategory>
      extended by org.eigenbase.inventory.EigenbaseComponentCategory
All Implemented Interfaces:
Serializable, Comparable<EigenbaseComponentCategory>

public enum EigenbaseComponentCategory
extends Enum<EigenbaseComponentCategory>

Enumerates known component types for inventory purposes.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/inventory/EigenbaseComponentCategory.java#5 $
Author:
John V. Sichi

Enum Constant Summary
API
           
ClassLibrary
           
FunctionalImplementation
           
MockImplementation
           
ReferenceImplementation
           
SPI
           
TestCase
           
TestHarness
           
TestSuite
           
Utility
           
 
Method Summary
static EigenbaseComponentCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EigenbaseComponentCategory[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

API

public static final EigenbaseComponentCategory API

SPI

public static final EigenbaseComponentCategory SPI

ClassLibrary

public static final EigenbaseComponentCategory ClassLibrary

FunctionalImplementation

public static final EigenbaseComponentCategory FunctionalImplementation

ReferenceImplementation

public static final EigenbaseComponentCategory ReferenceImplementation

MockImplementation

public static final EigenbaseComponentCategory MockImplementation

Utility

public static final EigenbaseComponentCategory Utility

TestHarness

public static final EigenbaseComponentCategory TestHarness

TestSuite

public static final EigenbaseComponentCategory TestSuite

TestCase

public static final EigenbaseComponentCategory TestCase
Method Detail

values

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

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

valueOf

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