Interface RatingType.Builder
- All Known Implementing Classes:
RatingTypeBuilderImpl
- Enclosing interface:
- RatingType
public static interface RatingType.Builder
Builder Interface
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build rating typecancelRating(Consumer<Rating> doCancelRating) Do cancel ratingConsumer to rategetInfoExtender(BiFunction<String, String, List<Rating>> getInfoExtender) BiFunction to get the list of extender type information objectgetInfoExtenderByList(BiFunction<List<String>, String, List<Rating>> getInfoExtenderByList) BiFunction to get the list of extender type information objectgetInfoForExport(BinaryOperator<String> getInfoForExport) BinaryOperator to get the information value associate to the rating Type to export in the file exportgetInfoForRecap(BinaryOperator<String> getInfoForRecap) BinaryOperator to get the information value associate to the ExtenderType to write in the recapgetPageAddOn(QuinquaFunction<RatingExtenderConfig, String, String, String, jakarta.servlet.http.HttpServletRequest, String> getPageAddOn) GetPageAddOn
-
Method Details
-
doRating
Consumer to rate- Parameters:
doRating- the Consumer interface- Returns:
- builder
-
cancelRating
Do cancel rating- Parameters:
doCancelRating- the Consumer interface- Returns:
- builder
-
getPageAddOn
RatingType.Builder getPageAddOn(QuinquaFunction<RatingExtenderConfig, String, String, String, jakarta.servlet.http.HttpServletRequest, String> getPageAddOn) GetPageAddOn- Parameters:
getPageAddOn- the QuinquaFunction interface- Returns:
- builder
-
getInfoForExport
BinaryOperator to get the information value associate to the rating Type to export in the file export- Parameters:
getInfoForExport- the BinaryOperator- Returns:
- builder
-
getInfoForRecap
BinaryOperator to get the information value associate to the ExtenderType to write in the recap- Parameters:
getInfoForRecap- the BinaryOperator- Returns:
- builder
-
getInfoExtender
BiFunction to get the list of extender type information object- Parameters:
getInfoExtender- the BiFunction- Returns:
- builder
-
getInfoExtenderByList
RatingType.Builder getInfoExtenderByList(BiFunction<List<String>, String, List<Rating>> getInfoExtenderByList) BiFunction to get the list of extender type information object- Parameters:
getInfoExtenderByList- the BiFunction- Returns:
- builder
-
build
RatingType build()Build rating type- Returns:
- the rating type
-