org.jenkinsci.plugins.ghprb.manager.impl.downstreambuilds
Class BuildFlowBuildManager

java.lang.Object
  extended by org.jenkinsci.plugins.ghprb.manager.impl.GhprbBaseBuildManager
      extended by org.jenkinsci.plugins.ghprb.manager.impl.downstreambuilds.BuildFlowBuildManager
All Implemented Interfaces:
GhprbBuildManager

public class BuildFlowBuildManager
extends GhprbBaseBuildManager

Author:
mdelapenya (Manuel de la Peña)

Field Summary
 
Fields inherited from class org.jenkinsci.plugins.ghprb.manager.impl.GhprbBaseBuildManager
build, LOGGER
 
Constructor Summary
BuildFlowBuildManager(hudson.model.AbstractBuild<?,?> build)
           
BuildFlowBuildManager(hudson.model.AbstractBuild<?,?> build, JobConfiguration jobConfiguration)
           
 
Method Summary
 String calculateBuildUrl(String publishedURL)
          Calculate the build URL of a build of BuildFlow type, traversing its downstream builds graph
 Iterator<?> downstreamProjects()
          Return a downstream iterator of a build of default type.
 String getTestResults()
          Return the tests results of a build of default type.
 
Methods inherited from class org.jenkinsci.plugins.ghprb.manager.impl.GhprbBaseBuildManager
getAggregatedTestResults, getJobConfiguration, getOneLineTestResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildFlowBuildManager

public BuildFlowBuildManager(hudson.model.AbstractBuild<?,?> build)

BuildFlowBuildManager

public BuildFlowBuildManager(hudson.model.AbstractBuild<?,?> build,
                             JobConfiguration jobConfiguration)
Method Detail

calculateBuildUrl

public String calculateBuildUrl(String publishedURL)
Calculate the build URL of a build of BuildFlow type, traversing its downstream builds graph

Specified by:
calculateBuildUrl in interface GhprbBuildManager
Overrides:
calculateBuildUrl in class GhprbBaseBuildManager
Returns:
the build URL of a BuildFlow build, with all its downstream builds

downstreamProjects

public Iterator<?> downstreamProjects()
Return a downstream iterator of a build of default type. This will be overriden by specific build types.

Specified by:
downstreamProjects in interface GhprbBuildManager
Overrides:
downstreamProjects in class GhprbBaseBuildManager
Returns:
the downstream builds as an iterator

getTestResults

public String getTestResults()
Return the tests results of a build of default type. This will be overriden by specific build types.

Specified by:
getTestResults in interface GhprbBuildManager
Overrides:
getTestResults in class GhprbBaseBuildManager
Returns:
the tests result of a build of default type


Copyright © 2004-2016. All Rights Reserved.