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.
|
toString
public 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.Dependency
public int hashCode()
hashCode
in class DependencyGraph.Dependency
public AbstractProject getDownstreamProject()
getDownstreamProject
in class DependencyGraph.Dependency
public AbstractProject getUpstreamProject()
getUpstreamProject
in class DependencyGraph.Dependency
public boolean pointsItself()
pointsItself
in class DependencyGraph.Dependency
Copyright © 2016–2021. All rights reserved.