| Package | Description |
|---|---|
| de.mgmechanics.jdecisiontablelib.dt | |
| de.mgmechanics.jdecisiontablelib.io | |
| de.mgmechanics.jdecisiontablelib.ts |
| Modifier and Type | Method and Description |
|---|---|
Decision |
Rule.getDecision(int nodePos)
This method returns the decision for a given node in this rule.
|
Decision |
Decisiontable.getDecision(int rulePos,
int nodePos)
This method returns the decision for a given cell in the decision table.
The cell in the decision table is named by the position of a node and a rule. |
protected Decision |
Rule.removeDecision(int nodePos)
This method removes a decision from a node.
Please note that you need to call this method for all rules to make sure that each rule has same number of decisions! This is necessary since each node has one decision in each rule. |
static Decision |
Decision.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Decision[] |
Decision.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Rule.addDecision(int nodePos,
Decision d)
This method insert a given decision on position nodePos
|
void |
Rule.setDecision(int nodePos,
Decision decision)
This method inserts a decision in a rule.
|
void |
Decisiontable.setDecision(int rulePos,
int nodePos,
Decision decision)
This method sets the decision for a given cell in the decision table.
The cell in the decision table is named by the position of a node and a rule. |
| Modifier and Type | Method and Description |
|---|---|
String |
Any2Table.toStringDecision(Decision d)
Returns the string representation for each Decision.
|
| Modifier and Type | Method and Description |
|---|---|
Decision |
TeststepRule.getDecision(int nodePos)
Returns the decision for a given node.
|
| Constructor and Description |
|---|
TeststepRule(ArrayList<Decision> decisions,
ArrayList<Comparison> comparisons,
String successor,
int rulePositionInDecisiontable)
Creates a new test step rule with values from arguments.
|
Copyright © 2013. All Rights Reserved.