SnapshotBridgeRestorer
final class SnapshotBridgeRestorer
Package: dev.joid.test.snapshot · Module: tool-testkit · Source: SnapshotBridgeRestorer.java
Remembers the bridges of every registry and later unregisters every bridge registered since.
Description
Section titled “Description”A snapshot backend creates one before it registers, and calls restore() in destroy(), so that the next suite starts clean.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| SnapshotBridgeRestorer() | Remembers the bridges of the seven registries of BridgeHandler. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | restore() | Unregisters every bridge that is not among the remembered ones. |
Creation details
Section titled “Creation details”SnapshotBridgeRestorer
Section titled “SnapshotBridgeRestorer”SnapshotBridgeRestorer()
Remembers the bridges of the seven registries of BridgeHandler.
Method details
Section titled “Method details”restore
Section titled “restore”void restore()
Unregisters every bridge that is not among the remembered ones.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
