public class Rule extends Object implements Comparable<Rule>
Modifier and Type | Class and Description |
---|---|
static class |
Rule.RuleType |
Constructor and Description |
---|
Rule(int id,
boolean allow,
Rule.RuleType type,
JID value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Rule o) |
boolean |
equals(Object obj) |
protected int |
getId() |
int |
hashCode() |
boolean |
isAllowed() |
String |
toConfigurationString() |
String |
toString() |
public Rule(int id, boolean allow, Rule.RuleType type, JID value)
public int compareTo(Rule o)
compareTo
in interface Comparable<Rule>
public boolean isAllowed()
protected int getId()
public String toConfigurationString()
Copyright © 2018 "Tigase, Inc.". All rights reserved.