public class TemplateUtils
extends java.lang.Object
Constructor and Description |
---|
TemplateUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Function<CreatedContract,Template> |
contractTransformer(java.lang.Class<? extends Template>... allowedTemplates)
Creates a transform function which is aware of the template types.
|
public static java.util.function.Function<CreatedContract,Template> contractTransformer(java.lang.Class<? extends Template>... allowedTemplates)
allowedTemplates
- the list of allowed template types