|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.com.centrumsystems.hudson.plugin.util.BuildUtil
public final class BuildUtil
Provides helper methods for #hudson.model.AbstractBuild
Constructor Summary | |
---|---|
BuildUtil()
|
Method Summary | |
---|---|
static hudson.model.Action |
getAllBuildParametersAction(hudson.model.AbstractBuild<?,?> upstreamBuild,
hudson.model.AbstractProject<?,?> downstreamProject)
Given an Upstream AbstractBuild and a Downstream AbstractProject will retrieve the associated ParametersAction. |
static hudson.model.ParametersAction |
getBuildParametersAction(hudson.model.AbstractBuild<?,?> build)
Gets the ParametersAction of an AbstractBuild |
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. |
static Map<String,String> |
getUnsensitiveParameters(hudson.model.AbstractBuild<?,?> build)
Retrieve build parameters in String format without sensitive parameters (passwords, ...) |
static hudson.model.ParametersAction |
mergeParameters(hudson.model.ParametersAction base,
hudson.model.ParametersAction overlay)
Merges two sets of ParametersAction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildUtil()
Method Detail |
---|
public static hudson.model.AbstractBuild<?,?> getDownstreamBuild(hudson.model.AbstractProject<?,?> downstreamProject, hudson.model.AbstractBuild<?,?> upstreamBuild)
downstreamProject
- - The downstream projectupstreamBuild
- - The upstream build
public static hudson.model.Action getAllBuildParametersAction(hudson.model.AbstractBuild<?,?> upstreamBuild, hudson.model.AbstractProject<?,?> downstreamProject)
upstreamBuild
- - The AbstractBuilddownstreamProject
- - The AbstractProject
public static hudson.model.ParametersAction getBuildParametersAction(hudson.model.AbstractBuild<?,?> build)
build
- - AbstractBuild
public static hudson.model.ParametersAction mergeParameters(hudson.model.ParametersAction base, hudson.model.ParametersAction overlay)
base
- ParametersAction set 1overlay
- ParametersAction set 2
public static Map<String,String> getUnsensitiveParameters(hudson.model.AbstractBuild<?,?> build)
build
- the build we retrieve the parameters from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |