Versions in this module Expand all Collapse all v0 v0.5.1 Jun 28, 2021 Changes in this version + var ErrDTableCollectOperator = errors.New("collect operator of decision table is invalid") + var ErrDTableEntryExpressionLangInvalid = errors.New("entry expression language of the table standard is invalid") + var ErrDTableFieldLabelEmpty = errors.New("field label is empty") + var ErrDTableFieldNameEmpty = errors.New("field name is empty") + var ErrDTableFieldTypInvalid = errors.New("field type is invalid") + var ErrDTableHitPolicy = errors.New("hit policy of decision table is invalid") + var ErrDTableInputEmpty = errors.New("at least one input is required") + var ErrDTableKeyEmpty = errors.New("definition key of decision table is required") + var ErrDTableNameEmpty = errors.New("name of decision table is required") + var ErrDTableOutputEmpty = errors.New("at least one output is required") + var ErrRuleHaveDifferentAmountOfInputFields = errors.New("amount of input entries does not match input fields of decision table") + var ErrRuleHaveDifferentAmountOfOutputFields = errors.New("amount of output entries does not match input fields of decision table") + type Validator struct + func (d Validator) Validate() (bool, []error) + func (d Validator) ValidateContainsInterferences() bool + type ValidatorInterface interface + Validate func() (bool, []error) + ValidateContainsInterferences func() bool + func CreateDecisionTableValidator(dTable model.TableData, prsFac expressionlanguages.ExpressionValidatorFactory) ValidatorInterface