sealed trait Obfuscation extends AnyRef
Allows registering functions for obfuscating certain identifying information within Build Scan.
- Alphabetic
- By Inheritance
- Obfuscation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
externalProcessName: (String) ⇒ String
The function used to obfuscate the names of external processes captured when resource usage capturing is enabled.
The function used to obfuscate the names of external processes captured when resource usage capturing is enabled.
An external process is a process running on the same machine as the build, that is not the build process itself, nor a descendant process of the build process. The function receives an external process name that would be captured, and should return the external process name that will be captured.
The received process name may not be
null
, and the function may not return anull
value.- Since
1.1
-
abstract
def
hostname: (String) ⇒ String
The function used to obfuscate the captured local hostname and public hostname.
The function used to obfuscate the captured local hostname and public hostname.
The function receives the hostname that would be captured, and should return the hostname that will be captured.
The received hostname will never be
null
, but the function may return anull
value. -
abstract
def
ipAddresses: (Seq[InetAddress]) ⇒ Seq[String]
The function used to obfuscate the captured IP addresses.
The function used to obfuscate the captured IP addresses.
The function receives the sequence of java.net.InetAddress that would be captured, and should return the sequence of java.lang.String that will be captured.
The received sequence will never be
null
or empty, but the function may return anull
or empty sequence.If the resulting sequence will contain
null
values, they will be filtered out. -
abstract
def
username: (String) ⇒ String
The function used to obfuscate the captured username.
The function used to obfuscate the captured username.
The function receives the username that would be captured, and should return the username that will be captured.
The received username will never be
null
, but the function may return anull
value. -
abstract
def
withExternalProcessName(externalProcessName: (String) ⇒ String): Obfuscation
Creates a copy of this configuration with a new function for obfuscating the names of external processes.
Creates a copy of this configuration with a new function for obfuscating the names of external processes.
- externalProcessName
The new function for obfuscating the names of external processes.
- returns
A copy of this configuration with a new function for obfuscating the names of external processes.
- Since
1.1
- See also
-
abstract
def
withHostname(hostname: (String) ⇒ String): Obfuscation
Create a copy of this configuration with a new function for obfuscating the captured hostname.
Create a copy of this configuration with a new function for obfuscating the captured hostname.
- hostname
The new function for obfuscating the captured hostname.
- returns
A copy of this configuration with a new function for obfuscating the captured hostname.
- See also
-
abstract
def
withIpAddresses(ipAddresses: (Seq[InetAddress]) ⇒ Seq[String]): Obfuscation
Create a copy of this configuration with a new function for obfuscating the captured IP addresses.
Create a copy of this configuration with a new function for obfuscating the captured IP addresses.
- ipAddresses
The new function for obfuscating the captured IP addresses.
- returns
A copy of this configuration with a new function for obfuscating the captured IP addresses.
- See also
-
abstract
def
withUsername(username: (String) ⇒ String): Obfuscation
Create a copy of this configuration with a new function for obfuscating the captured username.
Create a copy of this configuration with a new function for obfuscating the captured username.
- username
The new function for obfuscating the captured username.
- returns
A copy of this configuration with a new function for obfuscating the captured username.
- See also
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()