hudson.plugins.cigame.model
Class RuleSet

java.lang.Object
  extended by hudson.plugins.cigame.model.RuleSet

public class RuleSet
extends java.lang.Object

Class containing one or more rules

Author:
Erik Ramfelt

Constructor Summary
RuleSet(java.lang.String name, java.util.Collection<Rule> rules)
           
 
Method Summary
 void add(Rule rule)
          Add rule to the rule set
 java.lang.String getName()
          Returns the name of the rule set.
 void removeRule(Rule rule)
          Remove rule from the rule set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleSet

public RuleSet(java.lang.String name,
               java.util.Collection<Rule> rules)
Method Detail

getName

public java.lang.String getName()
Returns the name of the rule set.

Returns:
the name of the rule set.

add

public void add(Rule rule)
Add rule to the rule set

Parameters:
rule - rule to add to the set.

removeRule

public void removeRule(Rule rule)
Remove rule from the rule set.

Parameters:
rule - the rule to remove.


Copyright © 2008. All Rights Reserved.