NamedExecutable joins Executable and Named in a
one self-typed functional interface.
The default implementation of getName() returns the result of
calling Object#toString() on the implementing instance but may be
overridden by concrete implementations to provide a more meaningful name.
It is recommended to implement this interface using a record type.
DynamicTest#stream(Stream), DynamicTest#stream(Iterator)
| Modifier and Type | Method and Description |
|---|---|
| public default String | |
| public default Executable |
| getName | back to summary |
|---|---|
| public default String getName() Implements org. Doc from org. Get the name of the payload.
| |
| getPayload | back to summary |
|---|---|
| public default Executable getPayload() Implements org. Doc from org. Get the payload.
| |