Index
All Classes and Interfaces|All Packages|Serialized Form
A
- aggregation() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Returns the value of the
aggregationrecord component. - aggregation(AggregationOperator) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
Aggregates COLLECT results into a single output, using the output strategy's sum/min/max.
- AggregationOperator - Enum Class in io.github.brunopacheco1.praecepta.engine.beans
-
DMN aggregation of the outputs of a
HitPolicy.COLLECTtable into a single value. - allowedValues() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.InputColumn
-
Returns the value of the
allowedValuesrecord component. - allowedValues(String, String) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
DMN input value list: the values a column accepts, written as unary tests of its type, e.g.
- allowedValues(String, List) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
PraeceptaEngine.Builder.allowedValues(String, String)for a string column, from plain values. - Any() - Constructor for record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Any
-
Creates an instance of a
Anyrecord class. - ANY - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
Several rules may match if they all have the same outputs; otherwise a violation.
B
- build() - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
- builder() - Static method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine
C
- CellParser - Class in io.github.brunopacheco1.praecepta.engine.feel
-
Parses table cells written as DMN FEEL simple unary tests:
- CellSyntaxException - Exception Class in io.github.brunopacheco1.praecepta.engine.feel
-
A table cell is not a valid unary test for its column type.
- CellSyntaxException(String, String) - Constructor for exception class io.github.brunopacheco1.praecepta.engine.feel.CellSyntaxException
- COLLECT - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
All matching rules (in rule order), optionally aggregated with an
AggregationOperator. - columnType(String, ColumnType) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
With
PraeceptaEngine.Builder.inputs(InputStrategy): the type of a column, parsed from its text value. - ColumnType - Enum Class in io.github.brunopacheco1.praecepta.engine.beans
-
The type of an input column, which decides how its cells are parsed and its values compared.
- Compare(UnaryTests.Operator, Comparable) - Constructor for record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Compare
-
Creates an instance of a
Comparerecord class. - CONFLICTING_OUTPUTS - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Kind
-
Two rules with different outputs that some inputs match together (ANY): a violation.
D
- DATE - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.ColumnType
-
Calendar dates (
LocalDate). - dateInput(String, Function) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
Binds a DATE column to a getter.
- DecisionTable - Record Class in io.github.brunopacheco1.praecepta.engine.beans
-
A complete decision table: columns with their types and value lists, hit policy and rules.
- DecisionTable(String, HitPolicy, AggregationOperator, List, List, List) - Constructor for record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Creates an instance of a
DecisionTablerecord class. - DecisionTable.InputColumn - Record Class in io.github.brunopacheco1.praecepta.engine.beans
- DecisionTable.OutputColumn - Record Class in io.github.brunopacheco1.praecepta.engine.beans
- detail() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
-
Returns the value of the
detailrecord component. - DmnReader - Class in io.github.brunopacheco1.praecepta.engine.dmn
-
Reads decision tables from DMN XML (DMN 1.1 to 1.5, as written by Camunda Modeler, Drools / KIE tools, Trisotech and
DmnWriter). - DmnWriter - Class in io.github.brunopacheco1.praecepta.engine.dmn
-
Writes a
DecisionTableas a DMN 1.3 model with one decision.
E
- enumInput(String, Class, Function, Function) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
PraeceptaEngine.Builder.enumInput(String, Class, Function)where each constant stands forvalue.apply(constant). - enumInput(String, Class, Function) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
Binds a STRING column to a getter returning an enum: the int-coded input path.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.InputColumn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.OutputColumn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaOutput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.beans.Praeceptum
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Any
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Compare
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Equals
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Negated
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.NullTest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Positive
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Range
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
-
Indicates whether some other object is "equal to" this one.
- Equals(Comparable) - Constructor for record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Equals
-
Creates an instance of a
Equalsrecord class. - ERROR - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Severity
- evaluate(I) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine
-
Evaluates the decision table.
- example() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
-
Returns the value of the
examplerecord component.
F
- failOn(ValidationReport.Severity) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
Fail
PraeceptaEngine.Builder.build()with anInvalidDecisionTableExceptionif validation finds issues this severe. - FIRST - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
The first matching rule in rule order.
G
- GAP - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Kind
-
Declared input values that no rule matches (evaluation returns an empty result).
- GE - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Operator
- getCell() - Method in exception class io.github.brunopacheco1.praecepta.engine.feel.CellSyntaxException
- getColumn() - Method in exception class io.github.brunopacheco1.praecepta.engine.exceptions.InvalidInputException
- getHitPolicy() - Method in exception class io.github.brunopacheco1.praecepta.engine.exceptions.HitPolicyViolationException
- getReport() - Method in exception class io.github.brunopacheco1.praecepta.engine.exceptions.InvalidDecisionTableException
-
The report that failed the build, or
nullif the definition itself was invalid. - getRuleIds() - Method in exception class io.github.brunopacheco1.praecepta.engine.exceptions.HitPolicyViolationException
-
Identifiers (
Praeceptum.priority) of the conflicting rules, in rule order. - getValue() - Method in exception class io.github.brunopacheco1.praecepta.engine.exceptions.InvalidInputException
- GT - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Operator
H
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.InputColumn
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.OutputColumn
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaOutput
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.Praeceptum
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Any
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Compare
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Equals
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Negated
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.NullTest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Positive
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Range
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
-
Returns a hash code value for this object.
- hasIssuesAtLeast(ValidationReport.Severity) - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport
-
Whether any issue is at least as severe as
severity. - high() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Range
-
Returns the value of the
highrecord component. - highClosed() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Range
-
Returns the value of the
highClosedrecord component. - hitPolicy() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Returns the value of the
hitPolicyrecord component. - hitPolicy() - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine
- hitPolicy(HitPolicy) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
- HitPolicy - Enum Class in io.github.brunopacheco1.praecepta.engine.beans
-
DMN 1.3 decision-table hit policies (ยง8.2.12).
- HitPolicyViolationException - Exception Class in io.github.brunopacheco1.praecepta.engine.exceptions
-
An input matched rules in a way its hit policy forbids: several rules under
HitPolicy.UNIQUE, or rules with different outputs underHitPolicy.ANY. - HitPolicyViolationException(HitPolicy, List) - Constructor for exception class io.github.brunopacheco1.praecepta.engine.exceptions.HitPolicyViolationException
I
- input() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.Praeceptum
-
Returns the value of the
inputrecord component. - input(String, Function) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
Binds a STRING column to a getter.
- InputColumn(String, ColumnType) - Constructor for record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.InputColumn
- InputColumn(String, ColumnType, String) - Constructor for record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.InputColumn
-
Creates an instance of a
InputColumnrecord class. - inputs() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Returns the value of the
inputsrecord component. - inputs() - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine
-
Input column names, as declared (or, with an
InputStrategy, as used by the rules). - inputs(InputStrategy) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
Converts each input to a map of column values (as text).
- InputStrategy<I> - Interface in io.github.brunopacheco1.praecepta.engine
- InvalidDecisionTableException - Exception Class in io.github.brunopacheco1.praecepta.engine.exceptions
-
The decision table cannot be built: either its definition is inconsistent (for example an output value missing from its priority list), or its validation report contains an issue at or above the severity passed to
failOn. - InvalidDecisionTableException(ValidationReport) - Constructor for exception class io.github.brunopacheco1.praecepta.engine.exceptions.InvalidDecisionTableException
- InvalidDecisionTableException(String) - Constructor for exception class io.github.brunopacheco1.praecepta.engine.exceptions.InvalidDecisionTableException
- InvalidInputException - Exception Class in io.github.brunopacheco1.praecepta.engine.exceptions
-
An input value cannot be evaluated: it is outside its column's declared input values (DMN input value list), or, with map-based inputs, it cannot be read as the column's type.
- InvalidInputException(String, Object) - Constructor for exception class io.github.brunopacheco1.praecepta.engine.exceptions.InvalidInputException
- InvalidInputException(String, Object, String) - Constructor for exception class io.github.brunopacheco1.praecepta.engine.exceptions.InvalidInputException
- io.github.brunopacheco1.praecepta.engine - module io.github.brunopacheco1.praecepta.engine
-
Praecepta: DMN decision tables with strict hit policies, bitset matching and build-time validation.
- io.github.brunopacheco1.praecepta.engine - package io.github.brunopacheco1.praecepta.engine
- io.github.brunopacheco1.praecepta.engine.beans - package io.github.brunopacheco1.praecepta.engine.beans
- io.github.brunopacheco1.praecepta.engine.dmn - package io.github.brunopacheco1.praecepta.engine.dmn
- io.github.brunopacheco1.praecepta.engine.exceptions - package io.github.brunopacheco1.praecepta.engine.exceptions
- io.github.brunopacheco1.praecepta.engine.feel - package io.github.brunopacheco1.praecepta.engine.feel
- isEmpty() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport
- isSingleHit() - Method in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
Whether evaluation yields at most one output.
- Issue(ValidationReport.Kind, List) - Constructor for record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
- Issue(ValidationReport.Kind, List, String, Map) - Constructor for record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
-
Creates an instance of a
Issuerecord class. - issues() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport
-
Returns the value of the
issuesrecord component. - issues(ValidationReport.Kind) - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport
K
- kind() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
-
Returns the value of the
kindrecord component.
L
- LE - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Operator
- low() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Range
-
Returns the value of the
lowrecord component. - lowClosed() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Range
-
Returns the value of the
lowClosedrecord component. - LT - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Operator
M
- max(O, O) - Method in interface io.github.brunopacheco1.praecepta.engine.OutputStrategy
- MAX - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.AggregationOperator
- min(O, O) - Method in interface io.github.brunopacheco1.praecepta.engine.OutputStrategy
- MIN - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.AggregationOperator
N
- name() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.InputColumn
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.OutputColumn
-
Returns the value of the
namerecord component. - Negated(List) - Constructor for record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Negated
-
Creates an instance of a
Negatedrecord class. - NullTest() - Constructor for record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.NullTest
-
Creates an instance of a
NullTestrecord class. - NUMBER - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.ColumnType
-
Decimal numbers, compared by value (
1.0equals1). - numberInput(String, Function) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
Binds a NUMBER column to a getter returning any
Number; values compare as exact decimals.
O
- operator() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Compare
-
Returns the value of the
operatorrecord component. - output() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.Praeceptum
-
Returns the value of the
outputrecord component. - output(OutputStrategy) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
- OUTPUT_ORDER - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
All matching rules, ordered by decreasing output priority; ties keep rule order.
- OutputColumn(String, ColumnType) - Constructor for record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.OutputColumn
- OutputColumn(String, ColumnType, List) - Constructor for record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.OutputColumn
-
Creates an instance of a
OutputColumnrecord class. - outputPriority(String, List) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
DMN output value list for PRIORITY and OUTPUT_ORDER: the allowed values of an output column, highest priority first.
- outputs() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Returns the value of the
outputsrecord component. - OutputStrategy<O> - Interface in io.github.brunopacheco1.praecepta.engine
-
Converts rule outputs to the engine's output type.
- OVERLAPPING_RULES - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Kind
-
Two rules that some inputs match together (UNIQUE): evaluating those inputs raises a violation.
P
- parse(String, ColumnType) - Static method in class io.github.brunopacheco1.praecepta.engine.feel.CellParser
- Positive(List) - Constructor for record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Positive
-
Creates an instance of a
Positiverecord class. - PraeceptaEngine<I,
O> - Class in io.github.brunopacheco1.praecepta.engine -
A decision table evaluated with strict DMN 1.3 hit-policy semantics.
- PraeceptaEngine.Builder<I,
O> - Class in io.github.brunopacheco1.praecepta.engine -
Configures and builds a
PraeceptaEngine. - PraeceptaInput - Record Class in io.github.brunopacheco1.praecepta.engine.beans
- PraeceptaInput(Map) - Constructor for record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaInput
-
Creates an instance of a
PraeceptaInputrecord class. - PraeceptaOutput - Record Class in io.github.brunopacheco1.praecepta.engine.beans
- PraeceptaOutput(Map) - Constructor for record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaOutput
-
Creates an instance of a
PraeceptaOutputrecord class. - Praeceptum - Record Class in io.github.brunopacheco1.praecepta.engine.beans
-
One rule (row) of a decision table.
- Praeceptum(Integer, PraeceptaInput, PraeceptaOutput) - Constructor for record class io.github.brunopacheco1.praecepta.engine.beans.Praeceptum
-
Creates an instance of a
Praeceptumrecord class. - priority() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.Praeceptum
-
Returns the value of the
priorityrecord component. - PRIORITY - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
The matching rule whose outputs have the highest priority (output value lists); ties go to rule order.
R
- Range(Comparable, boolean, Comparable, boolean) - Constructor for record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Range
-
Creates an instance of a
Rangerecord class. - read(InputStream) - Static method in class io.github.brunopacheco1.praecepta.engine.dmn.DmnReader
-
Reads the model's only decision table.
- read(InputStream, String) - Static method in class io.github.brunopacheco1.praecepta.engine.dmn.DmnReader
- render(UnaryTests) - Static method in class io.github.brunopacheco1.praecepta.engine.dmn.DmnWriter
-
Standard FEEL text for parsed unary tests.
- RULE_ORDER - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
All matching rules, in rule order.
- ruleIds() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
-
Returns the value of the
ruleIdsrecord component. - rules() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Returns the value of the
rulesrecord component. - rules(List) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
The rules, in DMN rule order.
S
- severity() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
- severity() - Method in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Kind
- STRING - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.ColumnType
-
Text, compared exactly.
- sum(O, O) - Method in interface io.github.brunopacheco1.praecepta.engine.OutputStrategy
- SUM - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.AggregationOperator
- symbol() - Method in enum class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Operator
T
- table(DecisionTable) - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine.Builder
-
Takes the hit policy, aggregation, rules, input value lists and (for PRIORITY and OUTPUT_ORDER) output value lists from a decision table, e.g. one read by
DmnReader. - tests() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Negated
-
Returns the value of the
testsrecord component. - tests() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Positive
-
Returns the value of the
testsrecord component. - toString() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.InputColumn
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.OutputColumn
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaInput
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaOutput
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.Praeceptum
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Any
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Compare
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Equals
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Negated
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.NullTest
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Positive
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Range
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport.Issue
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.brunopacheco1.praecepta.engine.ValidationReport
-
Returns a string representation of this record class.
- transform(I) - Method in interface io.github.brunopacheco1.praecepta.engine.InputStrategy
- transform(PraeceptaOutput) - Method in interface io.github.brunopacheco1.praecepta.engine.OutputStrategy
- type() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.InputColumn
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.OutputColumn
-
Returns the value of the
typerecord component.
U
- UnaryTests - Interface in io.github.brunopacheco1.praecepta.engine.feel
-
A parsed table cell: the subset of DMN FEEL "simple unary tests" Praecepta supports.
- UnaryTests.Any - Record Class in io.github.brunopacheco1.praecepta.engine.feel
-
-or a blank cell: matches every value, including a missing one. - UnaryTests.Compare - Record Class in io.github.brunopacheco1.praecepta.engine.feel
-
< x,<= x,> x,>= x. - UnaryTests.Equals - Record Class in io.github.brunopacheco1.praecepta.engine.feel
-
A literal: the value equals it.
- UnaryTests.Negated - Record Class in io.github.brunopacheco1.praecepta.engine.feel
-
not(t1, t2, ...): matches when none of the tests matches (FEEL three-valued logic). - UnaryTests.NullTest - Record Class in io.github.brunopacheco1.praecepta.engine.feel
-
null: the value is missing. - UnaryTests.Operator - Enum Class in io.github.brunopacheco1.praecepta.engine.feel
- UnaryTests.Positive - Record Class in io.github.brunopacheco1.praecepta.engine.feel
-
t1, t2, ...: matches when any test matches. - UnaryTests.Range - Record Class in io.github.brunopacheco1.praecepta.engine.feel
-
[a..b], with(/]at the start or)/[at the end for open ends. - UnaryTests.Test - Interface in io.github.brunopacheco1.praecepta.engine.feel
-
One test of a cell.
- UNIQUE - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
At most one rule may match; more than one is a
HitPolicyViolationException. - UNREACHABLE_RULE - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Kind
-
No input ever selects this rule: earlier or higher-priority rules always win (FIRST, PRIORITY).
V
- validationReport() - Method in class io.github.brunopacheco1.praecepta.engine.PraeceptaEngine
-
Findings of the static analysis performed at build time.
- ValidationReport - Record Class in io.github.brunopacheco1.praecepta.engine
-
Static analysis of a decision table, computed when the engine is built.
- ValidationReport(List) - Constructor for record class io.github.brunopacheco1.praecepta.engine.ValidationReport
-
Creates an instance of a
ValidationReportrecord class. - ValidationReport.Issue - Record Class in io.github.brunopacheco1.praecepta.engine
- ValidationReport.Kind - Enum Class in io.github.brunopacheco1.praecepta.engine
- ValidationReport.Severity - Enum Class in io.github.brunopacheco1.praecepta.engine
- value() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Compare
-
Returns the value of the
valuerecord component. - value() - Method in record class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Equals
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class io.github.brunopacheco1.praecepta.engine.beans.AggregationOperator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.brunopacheco1.praecepta.engine.beans.ColumnType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Operator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Severity
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.brunopacheco1.praecepta.engine.beans.AggregationOperator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.brunopacheco1.praecepta.engine.beans.ColumnType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.DecisionTable.OutputColumn
-
Returns the value of the
valuesrecord component. - values() - Static method in enum class io.github.brunopacheco1.praecepta.engine.beans.HitPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaInput
-
Returns the value of the
valuesrecord component. - values() - Method in record class io.github.brunopacheco1.praecepta.engine.beans.PraeceptaOutput
-
Returns the value of the
valuesrecord component. - values() - Static method in enum class io.github.brunopacheco1.praecepta.engine.feel.UnaryTests.Operator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WARNING - Enum constant in enum class io.github.brunopacheco1.praecepta.engine.ValidationReport.Severity
- write(DecisionTable) - Static method in class io.github.brunopacheco1.praecepta.engine.dmn.DmnWriter
All Classes and Interfaces|All Packages|Serialized Form