public class Named extends Object
| Modifier and Type | Method and Description |
|---|---|
static Named |
as(String name)
Create a Named instance with provided name.
|
Named |
withName(String name)
Sets the name to be used for an operation.
|
public static Named as(String name)
name - the processor name to be used. If null a default processor name will be generated.Named instance configured with nameTopologyException - if an invalid name is specified; valid characters are ASCII alphanumerics, '.', '_' and '-'.