Interface DecisionResultPostprocessor.Factory<IDREQ extends DecisionRequest,​RES>

    • Method Detail

      • getRequestType

        Class<IDREQ> getRequestType()
        Gets the type of individual decision requests handled by created instances
        Returns:
        (individual decision) request type parameter
      • getResponseType

        Class<RES> getResponseType()
        Gets the type of output decision response produced by created instances
        Returns:
        result type parameter
      • getInstance

        DecisionResultPostprocessor<IDREQ,​RES> getInstance​(int clientRequestErrorVerbosityLevel)
        Create instance of Result postprocessor
        Parameters:
        clientRequestErrorVerbosityLevel - Level of verbosity of the error message trace returned in case of client request errors, e.g. invalid requests. Increasing this value usually helps the clients better pinpoint the issue with their Requests. This parameter applies to DecisionResultPostprocessor.processClientError(IndeterminateEvaluationException) which is expected to enforce this verbosity level when returning the error result. The Result postprocessor must return all error messages in the Java stacktrace up to the same level as this parameter's value if the stacktrace is bigger, else the full stacktrace.
        Returns:
        instance of Result postprocessor