Interface Referencer


  • public interface Referencer
    This interface can be added to all BuildWrappers, Builders and Publishers, that reference other AbstractProjects.

    By doing so, these classes indicate, that their referenced project will be used somewhere during the build and that it thus needs to be added to the set of jobs that is added to the versioning map, whenever a job is built.

    Author:
    Martin Schroeder
    • Method Detail

      • getReferencedJobs

        Set<String> getReferencedJobs()
        This method returns the set of all job names referenced by this class.

        The job names can point to jobs that do not exist, to allow the caller to scan for configuration errors of these jobs and emit a suitable warning.

        Returns:
        a set of project names. May be empty, but never null.