Interface ComponentNameGenerator
-
public interface ComponentNameGeneratorInterface which is used for generating component name.
-
-
Field Summary
Fields Modifier and Type Field Description static ComponentNameGeneratorDEFAULTThe defaultComponentNameGeneratorimplementation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Stringgenerate(ComponentDescriptor<T> descriptor)Generates a component name for the specified component descriptor.
-
-
-
Field Detail
-
DEFAULT
static final ComponentNameGenerator DEFAULT
The defaultComponentNameGeneratorimplementation.
-
-
Method Detail
-
generate
<T> String generate(ComponentDescriptor<T> descriptor)
Generates a component name for the specified component descriptor.- Type Parameters:
T- the type of the component.- Parameters:
descriptor- theSimpleComponentDescriptorinstance.- Returns:
- the generated component.
-
-