Interface SCMSourceCriteria

    • Method Detail

      • isHead

        boolean isHead​(@NonNull
                       SCMSourceCriteria.Probe probe,
                       @NonNull
                       TaskListener listener)
                throws IOException
        Validates if a potential head is actually a head.
        Parameters:
        probe - the SCMSourceCriteria.Probe for the head candidate.
        listener - a listener which may receive informational messages explaining why a head was accepted or rejected
        Returns:
        true iff the candidate should be included in the list of heads built by Jenkins.
        Throws:
        IOException - if an error occurs while performing the operation.