Package de.xima.fc.workflow
Class SummaryKeyValueModelBuilder
- java.lang.Object
-
- de.xima.fc.workflow.SummaryKeyValueModelBuilder
-
public final class SummaryKeyValueModelBuilder extends Object
Builder for aISummaryKeyValueModelPOJO.- 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 SummaryKeyValueModelBuilderaddKeyValuePair(ISummaryKeyValuePair pair)SummaryKeyValueModelBuilderaddKeyValuePairs(Iterable<? extends ISummaryKeyValuePair> pairs)ISummaryKeyValueModelbuild()SummaryKeyValueModelBuilderwithInfoAfter(ISummaryKeyValueText text)SummaryKeyValueModelBuilderwithInfoBefore(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.
-
-