applyToSystemProperties

Add the properties to the system properties for the duration of the action, restoring previous values when it completes.

Since

3.0.0

Parameters

action

the action to take


open fun <T> applyToSystemProperties(call: Callable<T>): T

Add the properties to the system properties for the duration of the call, restoring previous values when it completes.

Return

the result of the call

Parameters

<T>

the result type

call

the call to make