|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRaptor.RuleController
public class RuleController
Calls the correct RuleController when a first line and a rule have been selected.
| Constructor Summary | |
|---|---|
RuleController()
Constructs a RuleController. |
|
| Method Summary | |
|---|---|
void |
addFirstLine(ProofItem pLine)
Takes the first selected line and stores it in currentLine. |
void |
addRule(java.lang.String pRule)
Determines whether to create a RAPRuleController or a NDRuleController. |
boolean |
apply()
First call adds the currentLine to the currentRule. |
void |
exitRule()
Called when rule execution failed or the rule finished execution. |
ProofItem |
getFirstLine()
Returns the first selected line |
boolean |
lineSelected(ProofItem pItem)
Gives the newly selected lines to the Rule as the extra input. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleController()
| Method Detail |
|---|
public void addRule(java.lang.String pRule)
throws java.lang.Exception
pRule - String representing the selected Rule
java.lang.Exceptionpublic void exitRule()
public void addFirstLine(ProofItem pLine)
pLine - ProofItem which is the first line selectedpublic ProofItem getFirstLine()
public boolean apply()
throws java.lang.Exception
java.lang.Exception
public boolean lineSelected(ProofItem pItem)
throws java.lang.Exception
pItem - ProofItem representing the selected line
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||