public < S > RuleBuilder < T , S > withResultType ( Class < S > resultType ) { RuleBuilder < T , S > builder = new RuleBuilder <> ( _ruleClass ) ; builder . _factType = _factType ; builder . _resultType = resultType ; builder . _actionType = _actionType ; builder . _name = _name ; return builder ; }
Specifies the Result type for the Rule being built .