Class ConditionalDependencyWrapper
java.lang.Object
hudson.model.DependencyGraph.Dependency
org.jenkinsci.plugins.conditionalbuildstep.dependency.ConditionalDependencyWrapper
Wraps
DependencyGraph.Dependency
and evaluates RunCondition
when the dependency is triggered.-
Constructor Summary
ConstructorsConstructorDescriptionConditionalDependencyWrapper
(DependencyGraph.Dependency dep, org.jenkins_ci.plugins.run_condition.RunCondition condition, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
boolean
shouldTriggerBuild
(AbstractBuild build, TaskListener listener, List<Action> actions) Determines whether the downstream project should be launched.Methods inherited from class hudson.model.DependencyGraph.Dependency
toString
-
Constructor Details
-
ConditionalDependencyWrapper
public ConditionalDependencyWrapper(DependencyGraph.Dependency dep, org.jenkins_ci.plugins.run_condition.RunCondition condition, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner)
-
-
Method Details
-
shouldTriggerBuild
Determines whether the downstream project should be launched.RunCondition
is evaluated. -
equals
- Overrides:
equals
in classDependencyGraph.Dependency
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDependencyGraph.Dependency
-
getDownstreamProject
- Overrides:
getDownstreamProject
in classDependencyGraph.Dependency
-
getUpstreamProject
- Overrides:
getUpstreamProject
in classDependencyGraph.Dependency
-
pointsItself
public boolean pointsItself()- Overrides:
pointsItself
in classDependencyGraph.Dependency
-