Class ClasspathAdder

    • Constructor Detail

      • ClasspathAdder

        public ClasspathAdder()
    • Method Detail

      • add

        @NonNull
        public abstract List<ClasspathAdder.Addition> add​(@NonNull
                                                          org.jenkinsci.plugins.workflow.cps.CpsFlowExecution execution,
                                                          @NonNull
                                                          List<String> libraries,
                                                          @NonNull
                                                          HashMap<String,​Boolean> changelogs)
                                                   throws Exception
        May add to the classpath.
        Parameters:
        execution - a running build (possibly newly started, possibly resumed)
        libraries - aggregated entries from all encountered Library.value() (will be empty if Library is never used at all); an implementation should remove entries it “claims”
        Returns:
        a possibly empty list of additions
        Throws:
        Exception - for whatever reason (will fail compilation)