public class BlockBuild extends Object
Constructor and Description |
---|
BlockBuild(hudson.model.AbstractProject<?,?> project)
Constructor
|
Modifier and Type | Method and Description |
---|---|
hudson.model.queue.CauseOfBlockage |
checkBuildingDownstream()
Checks if any downstream projects are building.
|
hudson.model.queue.CauseOfBlockage |
checkBuildingUpstream()
Checks if any upstream projects are building.
|
Set<hudson.model.AbstractProject<?,?>> |
getTransitiveDownstreamProjectsFinal(com.google.common.collect.ImmutableList<String> finalProjects)
Returns all the transitive downstream projects.
|
Set<hudson.model.AbstractProject<?,?>> |
getTransitiveUpstreamProjectsFinal(com.google.common.collect.ImmutableList<String> finalProjects)
Returns all the transitive upstream projects.
|
public BlockBuild(hudson.model.AbstractProject<?,?> project)
project
- the project to check if upstream or downstream projects are buildingpublic hudson.model.queue.CauseOfBlockage checkBuildingUpstream()
public hudson.model.queue.CauseOfBlockage checkBuildingDownstream()
public Set<hudson.model.AbstractProject<?,?>> getTransitiveUpstreamProjectsFinal(com.google.common.collect.ImmutableList<String> finalProjects)
finalProjects
- list of projects to stop searchingpublic Set<hudson.model.AbstractProject<?,?>> getTransitiveDownstreamProjectsFinal(com.google.common.collect.ImmutableList<String> finalProjects)
finalProjects
- list of projects to stop searchingCopyright © 2016–2017. All rights reserved.