Class NodeStepNamePredicate
java.lang.Object
org.jenkinsci.plugins.workflow.graphanalysis.NodeStepNamePredicate
public final class NodeStepNamePredicate
extends Object
implements com.google.common.base.Predicate<FlowNode>
Predicate that matches
FlowNode
s (specifically StepNode
s) with a specific StepDescriptor
name.
May be used in preference to NodeStepTypePredicate
in cases whern dependency structures prevent import
of the actual descriptor class (I.E. when writing code in the workflow-api plugin that looks for step types in workflow-cps).-
Constructor Details
-
NodeStepNamePredicate
-
-
Method Details
-
getDescriptorId
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Predicate<FlowNode>
-