T - The type of object that the namer can nameConfiguration.Namer, Named.Namer, Task.Namerpublic 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 |
|---|---|---|
java.lang.String |
determineName(T object) |
Determines the name of the given object.
|
java.lang.String determineName(T object)
object - The object to determine the name ofjava.lang.RuntimeException - If the name cannot be determined or is null