Interface SCMSourceCriteria

    • Method Detail

      • isHead

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