A B C D E F G H I L M N O P R S T V X

A

ATestHarness - Class in com.dtrules.testsupport
 
ATestHarness() - Constructor for class com.dtrules.testsupport.ATestHarness
 
autoDataMap - Variable in class com.dtrules.testsupport.ATestHarness
 

B

beginTag(String[], int, String, HashMap<String, String>) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
beginTag(String[], int, String, HashMap<String, String>) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig.parseConfig
 
beginTag(String[], int, String, HashMap<String, String>) - Method in class com.dtrules.testsupport.Coverage.TraceLoad
 

C

Changed - Class in com.dtrules.compiler.decisiontables
 
ChangeReport - Class in com.dtrules.testsupport
Compares the differences between two versions of a Rule Set.
ChangeReport(String, String, String, String, String, String, String) - Constructor for class com.dtrules.testsupport.ChangeReport
Provides a change report between to Rules Engine Configurations.
ChangeReport.RulesConfig - Class in com.dtrules.testsupport
 
ChangeReport.RulesConfig.parseConfig - Class in com.dtrules.testsupport
 
changeReportXML(OutputStream) - Method in class com.dtrules.testsupport.ATestHarness
 
changeReportXML(OutputStream) - Method in interface com.dtrules.testsupport.ITestHarness
Generate a change report xml to the given output stream.
com.dtrules.compiler.decisiontables - package com.dtrules.compiler.decisiontables
 
com.dtrules.compiler.excel.util - package com.dtrules.compiler.excel.util
 
com.dtrules.testsupport - package com.dtrules.testsupport
 
compare(XMLPrinter) - Method in class com.dtrules.testsupport.ChangeReport
 
compare(OutputStream) - Method in class com.dtrules.testsupport.ChangeReport
 
compare() - Method in class com.dtrules.testsupport.ChangeReport
 
compareDecisionTables() - Method in class com.dtrules.testsupport.ChangeReport
 
compareDecisionTables(OutputStream) - Method in class com.dtrules.testsupport.ChangeReport
 
compareDecisionTables(XMLPrinter) - Method in class com.dtrules.testsupport.ChangeReport
 
compareEDD() - Method in class com.dtrules.testsupport.ChangeReport
 
compareEDD(OutputStream) - Method in class com.dtrules.testsupport.ChangeReport
 
compareEDD(XMLPrinter) - Method in class com.dtrules.testsupport.ChangeReport
 
compareMapping() - Method in class com.dtrules.testsupport.ChangeReport
 
compareMapping(OutputStream) - Method in class com.dtrules.testsupport.ChangeReport
 
compareMapping(XMLPrinter) - Method in class com.dtrules.testsupport.ChangeReport
 
compareNodes(XMLTree.Node, XMLTree.Node) - Method in class com.dtrules.testsupport.ATestHarness
Returns a message about the difference between the nodes.
compareNodes(XMLTree.Node, XMLTree.Node) - Method in interface com.dtrules.testsupport.ITestHarness
Once the two XML results are returned, this test is used to check if they are the same.
compareTestResults() - Method in class com.dtrules.testsupport.ATestHarness
 
compareTestResults() - Method in interface com.dtrules.testsupport.ITestHarness
Compare our new results with a set of past result files.
compareTestResultsReport() - Method in class com.dtrules.testsupport.ATestHarness
Returns standard out by default.
compareTestResultsReport() - Method in interface com.dtrules.testsupport.ITestHarness
When we compare the results of one run of a set of tests against another, this is where we write the report.
compile(String, String) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
compile(InputStream, OutputStream) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
compile(int, PrintStream) - Method in class com.dtrules.compiler.excel.util.Excel2XML
Compiles the RuleSet
compile(String, String, String, String) - Static method in class com.dtrules.compiler.excel.util.Excel2XML
 
compile(String, String, String, String, String[]) - Static method in class com.dtrules.compiler.excel.util.Excel2XML
Helper function for compiling Rule Sets.
CompileError - Class in com.dtrules.compiler.decisiontables
A simple class, really just a structure, for collecting information about reported errors as we compile a set of decision tables.
compute() - Method in class com.dtrules.testsupport.Coverage
 
Console() - Method in class com.dtrules.testsupport.ATestHarness
Do you want to print the report data to the Console as well as to the report file?
Console() - Method in interface com.dtrules.testsupport.ITestHarness
Do you want to print the report data to the Console as well as to the report file?
convertDecisionTable(StringBuffer, File, XMLPrinter, int) - Method in class com.dtrules.compiler.excel.util.ImportRuleSets
Reads the decision table out of an Excel spreadsheet and generates the approriate XML.
convertDecisionTables(RuleSet, String) - Method in class com.dtrules.compiler.excel.util.ImportRuleSets
Convert all the excel files in the given directory, and all sub directories, returning a String Buffer of all the XML produced.
convertEDD(EntityFactory, RuleSet, String) - Method in class com.dtrules.compiler.excel.util.ImportRuleSets
 
convertEDDs(RuleSet, String, String) - Method in class com.dtrules.compiler.excel.util.ImportRuleSets
Converts a single file or an folder of files into a single EDD xml file.
convertRuleset() - Method in class com.dtrules.compiler.excel.util.Excel2XML
Converts the RuleSet
copyFile(String, String) - Static method in class com.dtrules.compiler.excel.util.Excel2XML
Copy a file Throws a runtime exception if anything goes wrong.
Coverage - Class in com.dtrules.testsupport
 
Coverage(RuleSet, String) - Constructor for class com.dtrules.testsupport.Coverage
 
Coverage.Stats - Class in com.dtrules.testsupport
 
Coverage.Stats(RDecisionTable, int, int, int) - Constructor for class com.dtrules.testsupport.Coverage.Stats
 
Coverage.TraceLoad - Class in com.dtrules.testsupport
 
Coverage.TraceLoad() - Constructor for class com.dtrules.testsupport.Coverage.TraceLoad
 
coverageReport() - Method in class com.dtrules.testsupport.ATestHarness
By default, we will produce a coverage report as long as you have trace turned on.
coverageReport() - Method in interface com.dtrules.testsupport.ITestHarness
If true, and trace files are produced, then a coverage report will be generated.
currentfile - Variable in class com.dtrules.testsupport.ATestHarness
 

D

datamap - Variable in class com.dtrules.testsupport.ATestHarness
 
description - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
DTCompiler - Class in com.dtrules.compiler.decisiontables
 
DTCompiler(ICompiler) - Constructor for class com.dtrules.compiler.decisiontables.DTCompiler
Compiles the XML stream, writing the "compiled" XML to result.
dtRulesConfig - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
dts - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
dtsName - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
dtsRoot - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 

E

edd - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
eddName - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
eddRoot - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
endTag(String[], int, String, String, HashMap<String, String>) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
endTag(String[], int, String, String, HashMap<String, String>) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig.parseConfig
 
endTag(String[], int, String, String, HashMap<String, String>) - Method in class com.dtrules.testsupport.Coverage.TraceLoad
 
entrypoint() - Method in class com.dtrules.testsupport.ATestHarness
Returns "default" as the assumed entry point.
entrypoint() - Method in interface com.dtrules.testsupport.ITestHarness
AutoDataMap Support Returns the entry point into the Rule Set.
error(String) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
error(String) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig.parseConfig
 
error(String) - Method in class com.dtrules.testsupport.Coverage.TraceLoad
 
Excel2XML - Class in com.dtrules.compiler.excel.util
 
Excel2XML(RuleSet) - Constructor for class com.dtrules.compiler.excel.util.Excel2XML
We assume that the Rule Set provided gives us all the parameters needed to open a set of Excel Files and convert them into XML files.
Excel2XML(String, String, String) - Constructor for class com.dtrules.compiler.excel.util.Excel2XML
Opens the RulesDirectory for the caller.
executeDecisionTables(IRSession) - Method in class com.dtrules.testsupport.ATestHarness
 
executeDecisionTables(IRSession) - Method in interface com.dtrules.testsupport.ITestHarness
Called to execute the Decision Tables.

F

filecnt - Variable in class com.dtrules.testsupport.ATestHarness
 
filename - Variable in class com.dtrules.compiler.decisiontables.CompileError
 
findentities(XMLTree.Node) - Static method in class com.dtrules.testsupport.ChangeReport
 
findMissingNodes(String[], ArrayList<XMLTree.Node>, ArrayList<XMLTree.Node>) - Static method in class com.dtrules.testsupport.ChangeReport
It is interesting to find what nodes have been added, and which have been deleted.
findMissingNodes(String, String, ArrayList<XMLTree.Node>, ArrayList<XMLTree.Node>) - Static method in class com.dtrules.testsupport.ChangeReport
It is interesting to find what nodes have been added, and which have been deleted.
findnodes(String, XMLTree.Node, ArrayList<XMLTree.Node>) - Static method in class com.dtrules.testsupport.ChangeReport
Find all the nodes in a tree with a particular tag
findtables(XMLTree.Node) - Static method in class com.dtrules.testsupport.ChangeReport
 

G

generateMap(String, String) - Method in class com.dtrules.compiler.excel.util.Excel2XML
Deprecated. 
generateMap(int, String, String) - Method in class com.dtrules.compiler.excel.util.Excel2XML
Generates a default Mapping File.
getAutoDataMap() - Method in class com.dtrules.testsupport.ATestHarness
Returns the autoDataMap (or null if there is no autoDataMap)
getChanges() - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
getCurrentFile() - Method in class com.dtrules.testsupport.ATestHarness
 
getCurrentFile() - Method in interface com.dtrules.testsupport.ITestHarness
Returns the filename of the test set currently under test.
getDataMap() - Method in class com.dtrules.testsupport.ATestHarness
 
getDataMap() - Method in interface com.dtrules.testsupport.ITestHarness
 
getDecisionTableName() - Method in class com.dtrules.testsupport.ATestHarness
An implementation must implement either this method, or getDecsionTableNames().
getDecisionTableName() - Method in interface com.dtrules.testsupport.ITestHarness
This is the name of the Decision Table that has to be executed to evaluate a data set against this rule set.
getDecisionTableNames() - Method in class com.dtrules.testsupport.ATestHarness
By default we do not have a list of Decision Table names.
getDecisionTableNames() - Method in interface com.dtrules.testsupport.ITestHarness
Get a list of decision tables to execute.
getDTCompiler() - Method in class com.dtrules.compiler.excel.util.Excel2XML
Return the Last DecisionTable Compiler used.
getDtsRoot() - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
getEddRoot() - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
getErrors() - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
getFiles() - Method in class com.dtrules.testsupport.ATestHarness
 
getFiles() - Method in interface com.dtrules.testsupport.ITestHarness
Returns the set of files to run as part of the test, in the order provided.
getMappingRoot() - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
getOutputDirectory() - Method in class com.dtrules.testsupport.ATestHarness
This is where we are going to put the trace files, report files, etc.
getOutputDirectory() - Method in interface com.dtrules.testsupport.ITestHarness
This is where we are going to put the trace files, report files, etc.
getPath() - Method in interface com.dtrules.testsupport.ITestHarness
Returns the path to the Project Directory under which we organize the test files, defined the Rule Sets, etc. for this project.
getReportFileName() - Method in class com.dtrules.testsupport.ATestHarness
The name of the report file.
getReportFileName() - Method in interface com.dtrules.testsupport.ITestHarness
The name of the report file.
getResultDirectory() - Method in class com.dtrules.testsupport.ATestHarness
By default, we will look for a directory:

/results
getResultDirectory() - Method in interface com.dtrules.testsupport.ITestHarness
This is where we are going to look for past results to compare our new results to.
getRules1() - Method in class com.dtrules.testsupport.ChangeReport
 
getRules2() - Method in class com.dtrules.testsupport.ChangeReport
 
getRulesDirectoryFile() - Method in class com.dtrules.testsupport.ATestHarness
Default Rules directory file name is DTRules.xml.
getRulesDirectoryFile() - Method in interface com.dtrules.testsupport.ITestHarness
Defines the Rules Directory for this RuleSet.
getRulesDirectoryPath() - Method in interface com.dtrules.testsupport.ITestHarness
Get the path to the Rules Directory Control File.
getRuleSet() - Method in class com.dtrules.compiler.excel.util.Excel2XML
Returns the ruleSet being used by this compiler
getRuleSetName() - Method in interface com.dtrules.testsupport.ITestHarness
Defines the name of the RuleSet we are testing
getTestDirectory() - Method in class com.dtrules.testsupport.ATestHarness
Default directory with all the test files.
getTestDirectory() - Method in interface com.dtrules.testsupport.ITestHarness
Specifies a directory of test files.
getXMLDirectory() - Method in class com.dtrules.testsupport.ATestHarness
Path to the XML Directory holding all the XML files for this Rule Set

H

harnessVersion() - Method in class com.dtrules.testsupport.ATestHarness
 
harnessVersion() - Method in interface com.dtrules.testsupport.ITestHarness
Returns the TestHarness Version.

I

ImportRuleSets - Class in com.dtrules.compiler.excel.util
 
ImportRuleSets() - Constructor for class com.dtrules.compiler.excel.util.ImportRuleSets
 
info - Variable in class com.dtrules.compiler.decisiontables.CompileError
 
ITestHarness - Interface in com.dtrules.testsupport
 

L

lineNumber - Variable in class com.dtrules.compiler.decisiontables.CompileError
 
loadData(IRSession, String, String) - Method in class com.dtrules.testsupport.ATestHarness
 
loadData(IRSession, String, String) - Method in interface com.dtrules.testsupport.ITestHarness
Provides a way for a project to manage how data is loaded into a session.
logError(String, String, String, String, int, String) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 

M

main(String[]) - Static method in class com.dtrules.testsupport.Coverage
 
mapName() - Method in class com.dtrules.testsupport.ATestHarness
Return the map Name for this Rule Set.
mapName() - Method in interface com.dtrules.testsupport.ITestHarness
AutoDataMap Support Returns the map file name for this test.
mapping - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
mappingName - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
mappingRoot - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
message - Variable in class com.dtrules.compiler.decisiontables.CompileError
 

N

newPostfix - Variable in class com.dtrules.compiler.decisiontables.Changed
 
numbered() - Method in class com.dtrules.testsupport.ATestHarness
If numbered, we will number the files generated (result files, trace files, etc.)
numbered() - Method in interface com.dtrules.testsupport.ITestHarness
If true, then the files generated will have a number attached to them.

O

oldPostfix - Variable in class com.dtrules.compiler.decisiontables.Changed
 

P

path - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
printChanges(PrintStream) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
printErrors(PrintStream) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
printErrors(PrintStream, int) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
printReport(int, IRSession, PrintStream) - Method in class com.dtrules.testsupport.ATestHarness
By default, we will simply dump the entities as the report file.
printReport(PrintStream) - Method in class com.dtrules.testsupport.Coverage
 
printReport(int, IRSession, PrintStream) - Method in interface com.dtrules.testsupport.ITestHarness
Print reports; Since the test harness can run multiple tests, the number of the test having been run is passed down to printReport.
printTypes(PrintStream) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 
printUnreferenced(PrintStream) - Method in class com.dtrules.compiler.decisiontables.DTCompiler
 

R

referencePath() - Method in class com.dtrules.testsupport.ATestHarness
 
referencePath() - Method in interface com.dtrules.testsupport.ITestHarness
Path to the Alternate Configuration File (generally the deployed rule set) to use as a basis to produce a change report XML
referenceRulesDirectoryFile() - Method in class com.dtrules.testsupport.ATestHarness
 
referenceRulesDirectoryFile() - Method in interface com.dtrules.testsupport.ITestHarness
Alternate Configuration File (generally the deployed rule set) to use as a basis to produce a change report XML
removeIds(XMLTree.Node) - Method in class com.dtrules.testsupport.ATestHarness
 
reset() - Method in class com.dtrules.compiler.excel.util.Excel2XML
We reset the Rules Directory after we have modified the XML used to define the Rules Directory.
reset() - Method in class com.dtrules.testsupport.ChangeReport
Resets file pointers to all the decision tables, edds, and mapping files.
ruleSetName - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
runfile(RulesDirectory, RuleSet, int, String, String) - Method in class com.dtrules.testsupport.ATestHarness
Returns the error if an error is thrown.
runTests() - Method in class com.dtrules.testsupport.ATestHarness
 
runTests() - Method in interface com.dtrules.testsupport.ITestHarness
Runs all the test files in the TestDirectory;

S

setContents(File, String) - Method in class com.dtrules.compiler.excel.util.ImportRuleSets
 
setDescription(String) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
setDtRulesConfig(String) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
setDtsName(String) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
setDtsRoot(XMLTree.Node) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
setEddName(String) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
setEddRoot(XMLTree.Node) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
setMappingName(String) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
setMappingRoot(XMLTree.Node) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
 
setPath(String) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
Set the path.
setRuleSetName(String) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
The Rule Set we are going to compare.
setXml(String) - Method in class com.dtrules.testsupport.ChangeReport.RulesConfig
Set the xml subpath.
sort(boolean, Object[]) - Static method in class com.dtrules.testsupport.ChangeReport
Bubble sort with quick out and a fence ...
source - Variable in class com.dtrules.compiler.decisiontables.Changed
 
source - Variable in class com.dtrules.compiler.decisiontables.CompileError
 

T

tablename - Variable in class com.dtrules.compiler.decisiontables.Changed
 
tablename - Variable in class com.dtrules.compiler.decisiontables.CompileError
 
tokens - Variable in class com.dtrules.compiler.decisiontables.CompileError
 
Trace() - Method in class com.dtrules.testsupport.ATestHarness
By default, we will trace your code.
Trace() - Method in interface com.dtrules.testsupport.ITestHarness
If you want to trace a run, this function should return true;

V

Verbose() - Method in class com.dtrules.testsupport.ATestHarness
If verbose, we are going to print the EDD before we run the rules as well as after we run the rules.
Verbose() - Method in interface com.dtrules.testsupport.ITestHarness
If verbose, we are going to print the EDD before we run the rules as well as after we run the rules.

X

xml - Variable in class com.dtrules.testsupport.ChangeReport.RulesConfig
 

A B C D E F G H I L M N O P R S T V X

Copyright © 2011 DTrules Inc. All Rights Reserved.