Interface MirrorCredential


public interface MirrorCredential
The authentication credentials which are required when accessing the Git repositories.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final MirrorCredential
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Patterns compiled from the regular expressions that match a host name.
    id()
    Returns the ID of the credential.
    boolean
    matches(URI uri)
    Returns true if the specified uri is matched by one of the host name patterns.
  • Field Details

  • Method Details

    • id

      Returns the ID of the credential.
    • hostnamePatterns

      Set<Pattern> hostnamePatterns()
      Returns the Patterns compiled from the regular expressions that match a host name.
    • matches

      boolean matches(URI uri)
      Returns true if the specified uri is matched by one of the host name patterns.
      Parameters:
      uri - a URI of a Git repository