public class ConditionalDependencyWrapper extends DependencyGraph.Dependency
DependencyGraph.Dependency and evaluates RunCondition when the dependency is triggered.| Constructor and Description |
|---|
ConditionalDependencyWrapper(DependencyGraph.Dependency dep,
org.jenkins_ci.plugins.run_condition.RunCondition condition,
org.jenkins_ci.plugins.run_condition.BuildStepRunner runner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AbstractProject |
getDownstreamProject() |
AbstractProject |
getUpstreamProject() |
int |
hashCode() |
boolean |
pointsItself() |
boolean |
shouldTriggerBuild(AbstractBuild build,
TaskListener listener,
List<Action> actions)
Determines whether the downstream project should be launched.
|
toStringpublic ConditionalDependencyWrapper(DependencyGraph.Dependency dep, org.jenkins_ci.plugins.run_condition.RunCondition condition, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner)
public boolean shouldTriggerBuild(AbstractBuild build, TaskListener listener, List<Action> actions)
RunCondition is evaluated.public boolean equals(Object obj)
equals in class DependencyGraph.Dependencypublic int hashCode()
hashCode in class DependencyGraph.Dependencypublic AbstractProject getDownstreamProject()
getDownstreamProject in class DependencyGraph.Dependencypublic AbstractProject getUpstreamProject()
getUpstreamProject in class DependencyGraph.Dependencypublic boolean pointsItself()
pointsItself in class DependencyGraph.DependencyCopyright © 2016–2021. All rights reserved.