Raptor.RAPRules
Class IfRule

java.lang.Object
  extended by Raptor.RAPRules.RAPRule
      extended by Raptor.RAPRules.IfRule

public class IfRule
extends RAPRule

Implements the if rule.
Extends abstract class RAPRule.


Field Summary
 
Fields inherited from class Raptor.RAPRules.RAPRule
proof, window
 
Constructor Summary
IfRule(ProofBox pProof)
          Constructs an If rule instance.
 
Method Summary
 void apply()
          Called by the controller to apply the if rule.
 
Methods inherited from class Raptor.RAPRules.RAPRule
addInputLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfRule

public IfRule(ProofBox pProof)
Constructs an If rule instance.

Parameters:
pProof - the ProofBox representing the box in which the rule is being applied
Method Detail

apply

public void apply()
           throws java.lang.Exception
Called by the controller to apply the if rule.

Specified by:
apply in class RAPRule
Throws:
java.lang.Exception