|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jenkinsci.plugins.conditionalbuildstep.ConditionalBuildStepHelper
public class ConditionalBuildStepHelper
Helper to work with BuildSteps wrapped by ConditionalBuilder or SingleConditionalBuilder.
| Method Summary | ||
|---|---|---|
static
|
getContainedBuilders(hudson.model.AbstractProject<?,?> ap,
Class<T> type)
Gets the list of all buildsteps wrapped within any ConditionalBuilder or SingleConditionalBuilder from within the given project. |
|
static
|
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. |
|
static boolean |
isMavenPluginInstalled()
Is the maven plugin installed and active? |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T extends hudson.tasks.BuildStep> List<T> getContainedBuilders(hudson.model.Project<?,?> p,
Class<T> type)
ConditionalBuilder or SingleConditionalBuilder from within the given project. Keeps the API backward compatible (Internally
calls getConditionalBuildersFromMavenProject(AbstractProject))
p - the project to get all wrapped builders fortype - the type of builders to search for
nullhttps://issues.jenkins-ci.org/browse/JENKINS-20543
public static <T extends hudson.tasks.BuildStep> List<T> getContainedBuilders(hudson.model.AbstractProject<?,?> ap,
Class<T> type)
ConditionalBuilder or SingleConditionalBuilder from within the given project.
p - the project to get all wrapped builders fortype - the type of builders to search for
nullpublic static boolean isMavenPluginInstalled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||