Interface BuildScanDataObfuscation


@Deprecated public interface BuildScanDataObfuscation
Deprecated.
since 1.21, replaced by BuildScanDataObfuscation
Allows registering functions for obfuscating certain identifying information within build scans.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    hostname(Function<? super String,? extends String> obfuscator)
    Deprecated.
    Registers a function to transform the local hostname and public hostname captured.
    void
    ipAddresses(Function<? super List<InetAddress>,? extends List<String>> obfuscator)
    Deprecated.
    Registers a function used to transform the IP addresses captured.
    void
    username(Function<? super String,? extends String> obfuscator)
    Deprecated.
    Registers a function to transform the username captured.
  • Method Details

    • username

      void username(Function<? super String,? extends String> obfuscator)
      Deprecated.
      Registers a function to transform the username captured.

      The function receives the username that would be captured, and should return the username that will be captured.

      The received username may be null, and the function may return a null value.

      Parameters:
      obfuscator - the function to obfuscate the username
      Since:
      1.3.1
    • hostname

      void hostname(Function<? super String,? extends String> obfuscator)
      Deprecated.
      Registers a function to transform the local hostname and public hostname captured.

      The function receives the hostname that would be captured, and should return the hostname that will be captured.

      The received hostname may be null, and the function may return a null value.

      Parameters:
      obfuscator - the function to obfuscate the hostname
      Since:
      1.3.1
    • ipAddresses

      void ipAddresses(Function<? super List<InetAddress>,? extends List<String>> obfuscator)
      Deprecated.
      Registers a function used to transform the IP addresses captured.

      The function receives a list of InetAddress that would be captured, and should return the list of String that will be captured.

      The received list may be null or empty, and the function may return a null or empty list, but may not return a list with a null element.

      Parameters:
      obfuscator - the function to obfuscate the IP addresses
      Since:
      1.3.1