Skip navigation links
A C D G N R S T U V 

A

addChildNode(RuleInput, Node) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 
addChildNode(RuleInput, Node) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.RangeNode
 
addChildNode(RuleInput, Node) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.ValueNode
 
addRule(Rule) - Method in class com.github.kislayverma.rulette.engine.impl.trie.TrieBasedEvaluationEngine
 
addRule(Map<String, String>) - Method in class com.github.kislayverma.rulette.RuleSystem
This method adds a new rule to the rule system.
addRule(Rule) - Method in class com.github.kislayverma.rulette.RuleSystem
This method adds the given rule to the rule system with a new rule id.
addRuleInput(RuleInputMetaData) - Method in class com.github.kislayverma.rulette.RuleSystem
This method adds a new rule input to this rule system.

C

com.github.kislayverma.rulette - package com.github.kislayverma.rulette
 
com.github.kislayverma.rulette.engine.impl.trie - package com.github.kislayverma.rulette.engine.impl.trie
 
com.github.kislayverma.rulette.engine.impl.trie.node - package com.github.kislayverma.rulette.engine.impl.trie.node
 
createNewRuleSystem(RuleSystemMetaData, IDataProvider) - Static method in class com.github.kislayverma.rulette.RuleSystem
Utility method to create a new rule system via the given data provider

D

deleteRule(Rule) - Method in class com.github.kislayverma.rulette.engine.impl.trie.TrieBasedEvaluationEngine
 
deleteRule(String) - Method in class com.github.kislayverma.rulette.RuleSystem
This method deletes an existing rule from the rule system.
deleteRule(Rule) - Method in class com.github.kislayverma.rulette.RuleSystem
This method deletes the given rule from the rule system.
deleteRuleInput(String) - Method in class com.github.kislayverma.rulette.RuleSystem
This method deletes the rule input of the given name from this rule system.
deleteRuleSystem(String, IDataProvider) - Static method in class com.github.kislayverma.rulette.RuleSystem
Utility method to delete a rule system backed by the given data provider

G

getAllApplicableRules(Map<String, String>) - Method in class com.github.kislayverma.rulette.engine.impl.trie.TrieBasedEvaluationEngine
 
getAllApplicableRules(Map<String, String>) - Method in class com.github.kislayverma.rulette.RuleSystem
This method returns a list of all the rules in the rule system.
getAllColumnNames() - Method in class com.github.kislayverma.rulette.RuleSystem
Returns the names of all the columns in the rule system, including the unique input and output column names
getAllRules() - Method in class com.github.kislayverma.rulette.engine.impl.trie.TrieBasedEvaluationEngine
 
getAllRules() - Method in class com.github.kislayverma.rulette.RuleSystem
This method returns a list of all the rules in the rule system.
getConflictingRules(Rule) - Method in class com.github.kislayverma.rulette.RuleSystem
This method returns a list of rules conflicting with the given rule.
getCount() - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 
getCount() - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.RangeNode
 
getCount() - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.ValueNode
 
getInputColumnNames() - Method in class com.github.kislayverma.rulette.RuleSystem
Returns the names of all the columns in the rule system, excluding the unique input and output column names
getMatchingRule(String) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
This method is specifically added to enable traversal of the rule system trie to find a specific rule.
getMatchingRule(String) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.RangeNode
 
getMatchingRule(String) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.ValueNode
 
getMetaData() - Method in class com.github.kislayverma.rulette.RuleSystem
this method returns the metadata corresponding to this rule system.
getName() - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 
getName() - Method in class com.github.kislayverma.rulette.RuleSystem
Returns the name of the rule system
getNextApplicableRule(Map<String, String>) - Method in class com.github.kislayverma.rulette.engine.impl.trie.TrieBasedEvaluationEngine
 
getNextApplicableRule(Map<String, String>) - Method in class com.github.kislayverma.rulette.RuleSystem
This method returns the next rule that will be applicable to the inputs if the current rule applicable to the were to be deleted.
getNodes(String, boolean) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 
getNodes(String, boolean) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.RangeNode
 
getNodes(String, boolean) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.ValueNode
 
getNodesForAddingRule(RuleInput) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 
getNodesForAddingRule(RuleInput) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.RangeNode
 
getNodesForAddingRule(RuleInput) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.ValueNode
 
getOutputColumnName() - Method in class com.github.kislayverma.rulette.RuleSystem
 
getRule() - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 
getRule(String) - Method in class com.github.kislayverma.rulette.engine.impl.trie.TrieBasedEvaluationEngine
 
getRule(Map<String, String>) - Method in class com.github.kislayverma.rulette.engine.impl.trie.TrieBasedEvaluationEngine
 
getRule(Object) - Method in class com.github.kislayverma.rulette.RuleSystem
This method returns the rule applicable for the given combination of rule inputs.
getRule(Map<String, String>) - Method in class com.github.kislayverma.rulette.RuleSystem
This method returns the rule applicable for the given combination of rule inputs.
getRule(String) - Method in class com.github.kislayverma.rulette.RuleSystem
This method returns the applicable rule for the given input criteria.
getUniqueColumnName() - Method in class com.github.kislayverma.rulette.RuleSystem
 

N

name - Variable in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 
Node - Class in com.github.kislayverma.rulette.engine.impl.trie.node
 

R

RangeNode - Class in com.github.kislayverma.rulette.engine.impl.trie.node
 
RangeNode(String) - Constructor for class com.github.kislayverma.rulette.engine.impl.trie.node.RangeNode
 
reload() - Method in class com.github.kislayverma.rulette.RuleSystem
This method reloads the whole rule system by pulling fresh configuration and data from the data provider
removeChildNode(RuleInput) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 
removeChildNode(RuleInput) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.RangeNode
 
removeChildNode(RuleInput) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.ValueNode
 
rule - Variable in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 
RuleSystem - Class in com.github.kislayverma.rulette
This class models a rule-system comprising of rules and provides appropriate APIs to interact with it.
RuleSystem(String, IDataProvider) - Constructor for class com.github.kislayverma.rulette.RuleSystem
This constructor initializes a rule system of the given name by reading data from the credentials given in the data source URL.
RuleSystem(String, IDataProvider, RuleInputConfigurator) - Constructor for class com.github.kislayverma.rulette.RuleSystem
This constructor initializes a rule system of the given name by reading data from the credentials given in the data source URL.

S

setRule(Rule) - Method in class com.github.kislayverma.rulette.engine.impl.trie.node.Node
 

T

TrieBasedEvaluationEngine - Class in com.github.kislayverma.rulette.engine.impl.trie
This implementation of the IEvaluationEngine interface uses a Trie to store and locate rules efficiently.
TrieBasedEvaluationEngine(RuleSystemMetaData) - Constructor for class com.github.kislayverma.rulette.engine.impl.trie.TrieBasedEvaluationEngine
 
TrieBasedEvaluationEngine(RuleSystemMetaData, List<Rule>) - Constructor for class com.github.kislayverma.rulette.engine.impl.trie.TrieBasedEvaluationEngine
 

U

updateRule(Rule, Rule) - Method in class com.github.kislayverma.rulette.RuleSystem
This method updates an existing rules with values of the new rule given.

V

ValueNode - Class in com.github.kislayverma.rulette.engine.impl.trie.node
 
ValueNode(String) - Constructor for class com.github.kislayverma.rulette.engine.impl.trie.node.ValueNode
 
A C D G N R S T U V 
Skip navigation links

Copyright © 2020. All rights reserved.