Package de.xima.fc.workflow
Class SummaryKeyValueModelBuilder
java.lang.Object
de.xima.fc.workflow.SummaryKeyValueModelBuilder
Builder for a
ISummaryKeyValueModel
POJO.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddKeyValuePairs
(Iterable<? extends ISummaryKeyValuePair> pairs) build()
-
Constructor Details
-
SummaryKeyValueModelBuilder
public SummaryKeyValueModelBuilder()
-
-
Method Details
-
addKeyValuePair
- Parameters:
pair
- Additional Key value pair to show in the main table.- Returns:
- This builder for chaining method calls.
-
addKeyValuePairs
- Parameters:
pairs
- Key value pairs to show in the main table.- Returns:
- This builder for chaining method calls.
-
build
- Returns:
- A new summary key value model with the current data.
-
withInfoAfter
- Parameters:
text
- Text to show after the main key vale table.- Returns:
- This builder for chaining method calls.
-
withInfoBefore
- Parameters:
text
- Text to show before the main key vale table.- Returns:
- This builder for chaining method calls.
-