Interface RatingType.Builder

    • Method Detail

      • doRating

        RatingType.Builder doRating​(java.util.function.Consumer<Rating> doRating)
        Consumer to rate
        Parameters:
        doRating - the Consumer interface
        Returns:
        builder
      • cancelRating

        RatingType.Builder cancelRating​(java.util.function.Consumer<Rating> doCancelRating)
        Do cancel rating
        Parameters:
        doCancelRating - the Consumer interface
        Returns:
        builder
      • getPageAddOn

        RatingType.Builder getPageAddOn​(QuinquaFunction<RatingExtenderConfig,​java.lang.String,​java.lang.String,​java.lang.String,​javax.servlet.http.HttpServletRequest,​java.lang.String> getPageAddOn)
        GetPageAddOn
        Parameters:
        getPageAddOn - the QuinquaFunction interface
        Returns:
        builder
      • getInfoForExport

        RatingType.Builder getInfoForExport​(java.util.function.BinaryOperator<java.lang.String> 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

        RatingType.Builder getInfoForRecap​(java.util.function.BinaryOperator<java.lang.String> getInfoForRecap)
        BinaryOperator to get the information value associate to the ExtenderType to write in the recap
        Parameters:
        getInfoForRecap - the BinaryOperator
        Returns:
        builder
      • getInfoExtender

        RatingType.Builder getInfoExtender​(java.util.function.BiFunction<java.lang.String,​java.lang.String,​java.util.List<Rating>> getInfoExtender)
        BiFunction to get the list of extender type information object
        Parameters:
        getInfoExtender - the BiFunction
        Returns:
        builder
      • getInfoExtenderByList

        RatingType.Builder getInfoExtenderByList​(java.util.function.BiFunction<java.util.List<java.lang.String>,​java.lang.String,​java.util.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