T
- The type of object that the namer can nameConfiguration.Namer
, Named.Namer
, Task.Namer
public interface Namer<T>
Modifier and Type | Interface | Description |
---|---|---|
static class |
Namer.Comparator<T> |
A comparator implementation based on the names returned by the given namer.
|
Modifier and Type | Method | Description |
---|---|---|
String |
determineName(T object) |
Determines the name of the given object.
|
String determineName(T object)
object
- The object to determine the name ofRuntimeException
- If the name cannot be determined or is null