public interface IdentifierGenerator extends ConfigurationAware
generate(Class).| Modifier and Type | Method and Description |
|---|---|
long |
generate(Class<? extends Identified> componentType)
If the
identified parameter is null, the
returned value must be unique per the
MustacheEngine instance. |
getConfigurationKeys, initlong generate(Class<? extends Identified> componentType)
identified parameter is null, the
returned value must be unique per the
MustacheEngine instance. Otherwise, the value
must be unique for the given component type and
MustacheEngine instance, i.e. it may also be
unique per the MustacheEngine instance.componentType - The type of a component the identifier is generated for, may
be nullCopyright © 2017. All rights reserved.