Class DefaultFormElementTemplateList
- java.lang.Object
-
- de.xima.fc.plugin.models.retval.form.DefaultFormElementTemplateList
-
- All Implemented Interfaces:
IPluginFormElementTemplateList
public final class DefaultFormElementTemplateList extends Object implements IPluginFormElementTemplateList
Default POJO implementation forIPluginFormElementTemplateList
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultFormElementTemplateList.Builder
Simple builder for aIPluginFormElementTemplateList
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultFormElementTemplateList.Builder
builder()
Gets a new builder for creating a form element template return value.static IPluginFormElementTemplateList
empty()
Gets an empty list with no templates.List<IPluginFormElementTemplateDescriptor>
getTemplates()
Gets the list of additional templates to be made available.
-
-
-
Method Detail
-
getTemplates
public List<IPluginFormElementTemplateDescriptor> getTemplates()
Description copied from interface:IPluginFormElementTemplateList
Gets the list of additional templates to be made available. The returned list may depend on theparameters
given to the plugin. For example, certain templates could be offered only for specific forms.- Specified by:
getTemplates
in interfaceIPluginFormElementTemplateList
- Returns:
- A list of additional templates.
-
builder
public static DefaultFormElementTemplateList.Builder builder()
Gets a new builder for creating a form element template return value.- Returns:
- A new builder for a
IPluginFormElementTemplateList
.
-
empty
public static IPluginFormElementTemplateList empty()
Gets an empty list with no templates.- Returns:
- An empty template list.
-
-