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 TypeMethodDescriptionbooleaninthashCode()booleanbooleanshouldTriggerBuild(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.RunConditionis evaluated. -
equals
- Overrides:
equalsin classDependencyGraph.Dependency
-
hashCode
public int hashCode()- Overrides:
hashCodein classDependencyGraph.Dependency
-
getDownstreamProject
- Overrides:
getDownstreamProjectin classDependencyGraph.Dependency
-
getUpstreamProject
- Overrides:
getUpstreamProjectin classDependencyGraph.Dependency
-
pointsItself
public boolean pointsItself()- Overrides:
pointsItselfin classDependencyGraph.Dependency
-