au.com.centrumsystems.hudson.plugin.util
Class BuildUtil

java.lang.Object
  extended by au.com.centrumsystems.hudson.plugin.util.BuildUtil

public final class BuildUtil
extends java.lang.Object

Provides helper methods for #hudson.model.AbstractBuild

Author:
Centrum Systems

Constructor Summary
BuildUtil()
           
 
Method Summary
static hudson.model.AbstractBuild<?,?> getDownstreamBuild(hudson.model.AbstractProject<?,?> downstreamProject, hudson.model.AbstractBuild<?,?> upstreamBuild)
          Gets the next downstream build based on the upstream build and downstream project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildUtil

public BuildUtil()
Method Detail

getDownstreamBuild

public static hudson.model.AbstractBuild<?,?> getDownstreamBuild(hudson.model.AbstractProject<?,?> downstreamProject,
                                                                 hudson.model.AbstractBuild<?,?> upstreamBuild)
Gets the next downstream build based on the upstream build and downstream project.

Parameters:
downstreamProject - - The downstream project
upstreamBuild - - The upstream build
Returns:
- The next downstream build based on the upstream build and downstream project, or null if there is no downstream project.


Copyright © 2011. All Rights Reserved.