rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/lang/RuleBuilder.java
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;
  }
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;
  }
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.
@param resultType  the type of the Result to be used in the Rule
@param <S>         the type of Result
@return            a builder using a new result type for building a Rule
Specifies the Result type for the Rule being built .