Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDTableNameEmpty = errors.New("name of decision table is required") ErrDTableKeyEmpty = errors.New("definition key of decision table is required") ErrDTableHitPolicy = errors.New("hit policy of decision table is invalid") ErrDTableCollectOperator = errors.New("collect operator of decision table is invalid") ErrDTableInputEmpty = errors.New("at least one input is required") ErrDTableOutputEmpty = errors.New("at least one output is required") ErrDTableFieldIdIsEmpty = errors.New("field id is empty") ErrDTableFieldTypInvalid = errors.New("field type is invalid") ErrRuleHaveDifferentAmountOfInputFields = errors.New("amount of input entries does not match input fields of decision table") ErrRuleHaveDifferentAmountOfOutputFields = errors.New("amount of output entries does not match input fields of decision table") ErrDTableEntryExpressionLangInvalid = errors.New("entry expression language of the table standard is invalid") ErrDTableEntryReferencedFieldTypInvalid = errors.New("referenced field type does not match field type") )
Functions ¶
This section is empty.
Types ¶
type ValidatorInterface ¶
type ValidatorInterface interface {
Validate(table data.Table) (bool, []error)
ValidateContainsInterferences(table data.Table) bool
}
func CreateDecisionTableValidator ¶
func CreateDecisionTableValidator() ValidatorInterface
Click to show internal directories.
Click to hide internal directories.