Package ru.ewc.decita.input
Class RawContent
java.lang.Object
ru.ewc.decita.input.RawContent
I am the unified source for building
DecisionTable
s. My main responsibility is to store
all the data needed to construct Rule
s and fill the DecisionTable
.- Since:
- 0.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates aDecisionTable
from the raw contents.Answers the table name.
-
Constructor Details
-
RawContent
Ctor.- Parameters:
conditions
- A 2D-array of Strings describing the Conditions part of theDecisionTable
.outcomes
- A 2D-array of Strings describing the Outcomes part of theDecisionTable
.table
- Name of the source table.
-
-
Method Details
-
tableName
Answers the table name.- Returns:
- The table name.
-
asDecisionTable
Creates aDecisionTable
from the raw contents.- Returns:
- The
DecisionTable
created from the source file.
-