NonIntrusivePropertyConfigurator

Configurator for non intrusive behaviour of PropertyProxies.

Author

Matthias Geisler

Functions

Link copied to clipboard
abstract fun useRelaxerIf(condition: Boolean, relaxer: (String) -> Value)

Binds a given Relaxer function to a Proxy if the condition is true. This will wipe a given relaxer.

Link copied to clipboard
abstract fun useSpyIf(spyTarget: Any?, spyOn: () -> Value)

Binds the given function to the Proxy. It wipes a given relaxer and buildInRelaxer.