Package ru.ewc.decita
Class DecitaFacade
java.lang.Object
ru.ewc.decita.DecitaFacade
I am the facade for the Decita library. My main responsibility is to provide a single entry point
for the library users.
- Since:
- 0.3.1
-
Constructor Summary
ConstructorDescriptionDecitaFacade
(Supplier<Locators> tables) Ctor.DecitaFacade
(Supplier<Locators> tables, Locators locators) Ctor. -
Method Summary
-
Constructor Details
-
DecitaFacade
Ctor.- Parameters:
tables
- The function that provides a fresh set of uncomputed decision tables.
-
DecitaFacade
Ctor.- Parameters:
tables
- The function that provides a fresh set of uncomputed decision tables.locators
- The basic set ofLocator
used to obtain data from the system.
-
-
Method Details
-
decisionFor
Decides on the outcome of the table with the given name.- Parameters:
table
- The name of the table to decide on.request
- The request to decide on.- Returns:
- The outcome of the decision.
-