org.hudsonci.utils.tasks
Enum MetaProject.Type

java.lang.Object
  extended by java.lang.Enum<MetaProject.Type>
      extended by org.hudsonci.utils.tasks.MetaProject.Type
All Implemented Interfaces:
Serializable, Comparable<MetaProject.Type>
Enclosing class:
MetaProject

public static enum MetaProject.Type
extends Enum<MetaProject.Type>


Enum Constant Summary
MULTICONFIG
          Sub-class of MatrixProject.
NORMAL
          Sub-class of Project.
UNSUPPORTED
          Any other project type (like MavenModuleSet, etc).
 
Method Summary
static MetaProject.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MetaProject.Type[] 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

UNSUPPORTED

public static final MetaProject.Type UNSUPPORTED
Any other project type (like MavenModuleSet, etc).


NORMAL

public static final MetaProject.Type NORMAL
Sub-class of Project.


MULTICONFIG

public static final MetaProject.Type MULTICONFIG
Sub-class of MatrixProject.

Method Detail

values

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

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

valueOf

public static MetaProject.Type 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 © 2004-2011 Hudson. All Rights Reserved.