Interface AbstractCliGitHostKeyVerifier

All Superinterfaces:
Serializable, org.jenkinsci.remoting.SerializableOnlyOverRemoting

public interface AbstractCliGitHostKeyVerifier extends org.jenkinsci.remoting.SerializableOnlyOverRemoting
  • Method Summary

    Modifier and Type
    Method
    Description
    getVerifyHostKeyOption(Path tempKnownHosts)
    Specifies Git command-line options that control the logic of this verifier.

    Methods inherited from interface org.jenkinsci.remoting.SerializableOnlyOverRemoting

    getChannelForSerialization
  • Method Details

    • getVerifyHostKeyOption

      String getVerifyHostKeyOption(Path tempKnownHosts) throws IOException
      Specifies Git command-line options that control the logic of this verifier.
      Parameters:
      tempKnownHosts - a temporary file that has already been created and may be used.
      Returns:
      the command-line options
      Throws:
      IOException - on input or output error