org.jvnet.hudson.plugins.bulkbuilder.model
Enum BuildType

java.lang.Object
  extended by java.lang.Enum<BuildType>
      extended by org.jvnet.hudson.plugins.bulkbuilder.model.BuildType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BuildType>

public enum BuildType
extends java.lang.Enum<BuildType>

Author:
simon, Jesse Farinacci

Enum Constant Summary
ABORTED
           
ALL
           
BYVIEW
           
FAILED
           
FAILED_ONLY
           
NOT_BUILD_ONLY
           
NOT_BUILT
           
PATTERN
           
UNSTABLE
           
UNSTABLE_ONLY
           
 
Method Summary
static BuildType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BuildType[] 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

ABORTED

public static final BuildType ABORTED
See Also:
hudson.model.Result#ABORTED}

ALL

public static final BuildType ALL
See Also:
hudson.model.Hudson#getAllItems(Class)

BYVIEW

public static final BuildType BYVIEW
See Also:
hudson.model.Hudson#getViews()}

FAILED

public static final BuildType FAILED
See Also:
hudson.model.Result#FAILURE}

FAILED_ONLY

public static final BuildType FAILED_ONLY
See Also:
hudson.model.Result#FAILURE}

NOT_BUILD_ONLY

public static final BuildType NOT_BUILD_ONLY

NOT_BUILT

public static final BuildType NOT_BUILT

PATTERN

public static final BuildType PATTERN

UNSTABLE

public static final BuildType UNSTABLE
See Also:
hudson.model.Result#UNSTABLE}

UNSTABLE_ONLY

public static final BuildType UNSTABLE_ONLY
See Also:
hudson.model.Result#UNSTABLE}
Method Detail

values

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

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

valueOf

public static BuildType 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 © 2012. All Rights Reserved.