Class DialogTemplateParameterSupplier
- java.lang.Object
-
- ch.sahits.game.openpatrician.clientserverinterface.service.DialogTemplateParameterSupplier
-
- All Implemented Interfaces:
java.util.function.Supplier<java.lang.Object[]>
public class DialogTemplateParameterSupplier extends java.lang.Object implements java.util.function.Supplier<java.lang.Object[]>
Supplier function to provide the parameter array for dialog templates.- Author:
- Andi Hotz, (c) Sahits GmbH, 2017 Created on Jul 08, 2017
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object[]
params
-
Constructor Summary
Constructors Constructor Description DialogTemplateParameterSupplier(java.lang.Object[] params)
The parameters that are supplied to the dialog template to resolve the message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]
get()
-
-
-
Constructor Detail
-
DialogTemplateParameterSupplier
public DialogTemplateParameterSupplier(java.lang.Object[] params)
The parameters that are supplied to the dialog template to resolve the message. The arguments in the list are either values (constant) or Supplier themself, which will be evaluated when this Supplier value is retrieved.- Parameters:
params
- array of parameters to be used in the dialog template.
-
-