@Component(value="tapirRunNotifierSupplier") public class RunNotifierSupplier extends Object implements Supplier<Optional<org.junit.runner.notification.RunNotifier>>
RunNotifier
. The run notifier is passed to TapirJUnitBootstrapper.run(RunNotifier)
and is not
present when the tapir application is bootstrapped. Therefore we need this Supplier
in order to provide the run
notifier instance lazily.Constructor and Description |
---|
RunNotifierSupplier() |
Modifier and Type | Method and Description |
---|---|
Optional<org.junit.runner.notification.RunNotifier> |
get()
Returns the optional run notifier
|
void |
set(org.junit.runner.notification.RunNotifier runNotifier)
Sets the run notifier.
|
public void set(org.junit.runner.notification.RunNotifier runNotifier)
runNotifier
- the runNotifier to useNullPointerException
- thrown if runNotifier is nullCopyright © 2018 b+m Informatik AG. All rights reserved.