org.jenkinsci.plugins.ghprb.manager.impl
Class GhprbBaseBuildManager
java.lang.Object
org.jenkinsci.plugins.ghprb.manager.impl.GhprbBaseBuildManager
- All Implemented Interfaces:
- GhprbBuildManager
- Direct Known Subclasses:
- BuildFlowBuildManager, GhprbDefaultBuildManager
public abstract class GhprbBaseBuildManager
- extends Object
- implements GhprbBuildManager
- Author:
- mdelapenya (Manuel de la Peña)
Field Summary |
protected hudson.model.AbstractBuild |
build
|
protected static Logger |
LOGGER
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
protected static final Logger LOGGER
build
protected hudson.model.AbstractBuild build
GhprbBaseBuildManager
public GhprbBaseBuildManager(hudson.model.AbstractBuild build)
GhprbBaseBuildManager
public GhprbBaseBuildManager(hudson.model.AbstractBuild build,
JobConfiguration jobConfiguration)
calculateBuildUrl
public String calculateBuildUrl()
- Calculate the build URL of a build of default type. This will be overriden
by specific build types.
- Specified by:
calculateBuildUrl
in interface GhprbBuildManager
- Returns:
- the build URL of a build of default type
downstreamProjects
public Iterator downstreamProjects()
- Return a downstream iterator of a build of default type. This will be overriden
by specific build types.
If the receiver of the call has no child projects, it will return an
iterator over itself
- Specified by:
downstreamProjects
in interface GhprbBuildManager
- Returns:
- the downstream builds as an iterator
getJobConfiguration
public JobConfiguration getJobConfiguration()
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
- Returns:
- the tests result of a build of default type
getAggregatedTestResults
protected String getAggregatedTestResults(hudson.model.AbstractBuild build)
Copyright © 2004-2014. All Rights Reserved.