Class ConditionalBuildStepHelper

    • Method Detail

      • getContainedBuilders

        public static <T extends BuildStepList<T> getContainedBuilders​(AbstractProject<?,​?> ap,
                                                                         Class<T> type)
        Gets the list of all buildsteps wrapped within any ConditionalBuilder or SingleConditionalBuilder from within the given project.
        Parameters:
        ap - the project to get all wrapped builders for
        type - the type of builders to search for
        Returns:
        a list of all buildsteps, never null
      • isMavenPluginInstalled

        public static boolean isMavenPluginInstalled()
        Is the maven plugin installed and active?
        Returns: