hudson.scm
Enum CM_PROJECT

java.lang.Object
  extended by java.lang.Enum<CM_PROJECT>
      extended by hudson.scm.CM_PROJECT
All Implemented Interfaces:
Serializable, Comparable<CM_PROJECT>

public enum CM_PROJECT
extends Enum<CM_PROJECT>


Enum Constant Summary
AUTHOR
           
CHECKSUM
           
CONFIG_PATH
           
DELTA
           
DESCRIPTION
           
ID
           
MEMBER_ID
           
NAME
           
OLD_REVISION
           
RELATIVE_FILE
           
REVISION
           
TIMESTAMP
           
TYPE
           
UNDEFINED
           
 
Method Summary
static CM_PROJECT valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CM_PROJECT[] 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

ID

public static final CM_PROJECT ID

TYPE

public static final CM_PROJECT TYPE

NAME

public static final CM_PROJECT NAME

MEMBER_ID

public static final CM_PROJECT MEMBER_ID

TIMESTAMP

public static final CM_PROJECT TIMESTAMP

DESCRIPTION

public static final CM_PROJECT DESCRIPTION

AUTHOR

public static final CM_PROJECT AUTHOR

CONFIG_PATH

public static final CM_PROJECT CONFIG_PATH

REVISION

public static final CM_PROJECT REVISION

OLD_REVISION

public static final CM_PROJECT OLD_REVISION

RELATIVE_FILE

public static final CM_PROJECT RELATIVE_FILE

CHECKSUM

public static final CM_PROJECT CHECKSUM

DELTA

public static final CM_PROJECT DELTA

UNDEFINED

public static final CM_PROJECT UNDEFINED
Method Detail

values

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

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

valueOf

public static CM_PROJECT 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-2012 Hudson. All Rights Reserved.