| Modifier and Type | Method and Description |
|---|---|
ActiveTester<T> |
apply(Consumer<T> consumer)
Execute a given
Consumer for the current value. |
ActiveTester<T> |
compare(String fileName,
Comparison strategy)
Compare resource file to actual file for a given file name with a given
Comparison. |
default ActiveTester<T> |
execute(Runnable runnable)
Execute a given runnable.
|
<U> ActiveTester<U> |
map(Function<T,U> function)
Map the current value with with given
Function or set the given default value. |
ActiveTester<T> |
save(String fileName,
Save<T> strategy)
Save the current value to file with a given
Save |
ActiveTester<T> |
script(Consumer<ActiveTester<T>> script)
Execute a given consumer on the current ActiveTester.
|
<U> ActiveTester<U> |
script(Script<ActiveTester<T>,U> script)
Execute a given script on the current ActiveTester.
|
default ActiveTester<T> execute(Runnable runnable)
runnable - to execute.<U> ActiveTester<U> map(Function<T,U> function)
Function or set the given default value.U - new ActiveTester value type.function - used to map the current ActiveTester value.ActiveTester<T> apply(Consumer<T> consumer)
Consumer for the current value.consumer - to apply on ActiveTester value.ActiveTester<T> save(String fileName, Save<T> strategy)
SavefileName - to save the current ActiveTester value to.strategy - used to save current ActiveTester value to the given fileName.ActiveTester<T> compare(String fileName, Comparison strategy)
Comparison.fileName - of the resource and actual file to compare.strategy - to use to do the comparison.ActiveTester<T> script(Consumer<ActiveTester<T>> script)
script - Consumer<U> ActiveTester<U> script(Script<ActiveTester<T>,U> script)
U - new ActiveTester value type.script - to execute.Copyright © 2017. All rights reserved.