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