org.objectweb.medor.optim.api
Interface RuleConfiguration

All Known Implementing Classes:
BasicQueryRewriter

public interface RuleConfiguration

This interface describes the configuration of a set of rules used by the QueryRewriter.


Method Summary
 void addRule(RewriteRule rule)
          Adds a rule to a configuration, together with parameters such as the number of times the rules is applied (once, saturation)
 java.util.List getRules()
          Gives the List of rules in the configuration
 void removeRule(RewriteRule rule)
          Deletes a rule from the configuration.
 

Method Detail

addRule

public void addRule(RewriteRule rule)
Adds a rule to a configuration, together with parameters such as the number of times the rules is applied (once, saturation)

Parameters:
rule - the rule to be added.

removeRule

public void removeRule(RewriteRule rule)
Deletes a rule from the configuration.

Parameters:
rule - the rule to be removed

getRules

public java.util.List getRules()
Gives the List of rules in the configuration

Returns:
the List of rules in the configuration