Package tigase.vhosts.filter
Class Rule
- java.lang.Object
-
- tigase.vhosts.filter.Rule
-
- All Implemented Interfaces:
Comparable<Rule>
public class Rule extends Object implements Comparable<Rule>
- Author:
- Wojtek
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRule.RuleType
-
Constructor Summary
Constructors Constructor Description Rule(int id, boolean allow, Rule.RuleType type, JID value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Rule o)booleanequals(Object obj)protected intgetId()inthashCode()booleanisAllowed()StringtoConfigurationString()StringtoString()
-
-
-
Constructor Detail
-
Rule
public Rule(int id, boolean allow, Rule.RuleType type, JID value)
-
-
Method Detail
-
compareTo
public int compareTo(Rule o)
- Specified by:
compareToin interfaceComparable<Rule>
-
isAllowed
public boolean isAllowed()
-
toConfigurationString
public String toConfigurationString()
-
getId
protected int getId()
-
-