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 and Description
    --- | ---
    `static class` | `Rule.RuleType`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Rule(int id, boolean allow, Rule.RuleType type, JID value)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Rule

          public Rule(int id,
                      boolean allow,
                      Rule.RuleType type,
                      JID value)

  - ### Method Detail

    - #### compareTo

          public int compareTo(Rule o)

      Specified by:
        `compareTo` in interface `Comparable<Rule>`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### isAllowed

          public boolean isAllowed()

    - #### getId

          protected int getId()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### toConfigurationString

          public String toConfigurationString()

Copyright © 2022 "Tigase, Inc.". All rights reserved.