public class RatingTypeBuilderImpl extends Object implements RatingType.Builder
Modifier and Type | Method and Description |
---|---|
RatingType |
build()
Returns a new RatingType built from the current state of this
builder.
|
RatingTypeBuilderImpl |
cancelRating(Consumer<Rating> cancelRating)
Do cancel rating
|
RatingTypeBuilderImpl |
doRating(Consumer<Rating> doRating)
Consumer to rate
|
RatingTypeBuilderImpl |
getInfoExtender(BiFunction<String,String,List<Rating>> getInfoExtender)
BiFunction to get the list of extender type information object
|
RatingTypeBuilderImpl |
getInfoExtenderByList(BiFunction<List<String>,String,List<Rating>> getInfoExtenderByList)
BiFunction to get the list of extender type information object
|
RatingTypeBuilderImpl |
getInfoForExport(BinaryOperator<String> getInfoForExport)
BinaryOperator to get the information value associate to the rating Type to export in the file export
|
RatingTypeBuilderImpl |
getInfoForRecap(BinaryOperator<String> getInfoForRecap)
BinaryOperator to get the information value associate to the ExtenderType to write in the recap
|
RatingTypeBuilderImpl |
getPageAddOn(QuinquaFunction<RatingExtenderConfig,String,String,String,javax.servlet.http.HttpServletRequest,String> getPageAddOn)
GetPageAddOn
|
public RatingTypeBuilderImpl doRating(Consumer<Rating> doRating)
RatingType.Builder
doRating
in interface RatingType.Builder
doRating
- the Consumer interfacepublic RatingTypeBuilderImpl cancelRating(Consumer<Rating> cancelRating)
RatingType.Builder
cancelRating
in interface RatingType.Builder
cancelRating
- the Consumer interfacepublic RatingTypeBuilderImpl getPageAddOn(QuinquaFunction<RatingExtenderConfig,String,String,String,javax.servlet.http.HttpServletRequest,String> getPageAddOn)
RatingType.Builder
getPageAddOn
in interface RatingType.Builder
getPageAddOn
- the QuinquaFunction interfacepublic RatingTypeBuilderImpl getInfoForExport(BinaryOperator<String> getInfoForExport)
RatingType.Builder
getInfoForExport
in interface RatingType.Builder
getInfoForExport
- the BinaryOperatorpublic RatingTypeBuilderImpl getInfoForRecap(BinaryOperator<String> getInfoForRecap)
RatingType.Builder
getInfoForRecap
in interface RatingType.Builder
getInfoForRecap
- the BinaryOperatorpublic RatingTypeBuilderImpl getInfoExtender(BiFunction<String,String,List<Rating>> getInfoExtender)
RatingType.Builder
getInfoExtender
in interface RatingType.Builder
getInfoExtender
- the BiFunctionpublic RatingTypeBuilderImpl getInfoExtenderByList(BiFunction<List<String>,String,List<Rating>> getInfoExtenderByList)
RatingType.Builder
getInfoExtenderByList
in interface RatingType.Builder
getInfoExtenderByList
- the BiFunctionpublic RatingType build()
build
in interface RatingType.Builder
Copyright © 2022 City of Paris. All rights reserved.