org.jenkinsci.plugins.conditionalbuildstep
Class ConditionalBuildStepHelper
java.lang.Object
org.jenkinsci.plugins.conditionalbuildstep.ConditionalBuildStepHelper
public class ConditionalBuildStepHelper
- extends Object
Helper to work with BuildSteps wrapped by ConditionalBuilder or SingleConditionalBuilder.
- Author:
- Dominik Bartholdi (imod)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getContainedBuilders
public static <T extends hudson.tasks.BuildStep> List<T> getContainedBuilders(hudson.model.Project<?,?> p,
Class<T> type)
- Gets the list of all buildsteps wrapped within any
ConditionalBuilder or SingleConditionalBuilder from within the given project.
- Parameters:
p - the project to get all wrapped builders fortype - the type of builders to search for
- Returns:
- a list of all buildsteps, never
null
Copyright © 2004-2013. All Rights Reserved.