net.i2p.i2ptunnel.access

## Class FilterDefinition

- java.lang.Object
- - net.i2p.i2ptunnel.access.FilterDefinition

-     class FilterDefinition
      extends Object

  Access filter definition.

  POJO containing parsed representation from filter definition file.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FilterDefinition(Threshold defaultThreshold, FilterDefinitionElement[] elements, Recorder[] recorders)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) Threshold` | `getDefaultThreshold()`
    `(package private) FilterDefinitionElement[]` | `getElements()`
    `(package private) int` | `getPurgeSeconds()`
    `(package private) Recorder[]` | `getRecorders()`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FilterDefinition

          FilterDefinition(Threshold defaultThreshold,
                           FilterDefinitionElement[] elements,
                           Recorder[] recorders)

      Parameters:
        `defaultThreshold` - threshold to apply to unknown remote destinations
        `elements` - the elements defined in the filter definition, if any
        `recorders` - the recorders defined in the filter definition, if any

  - ### Method Detail

    - #### getDefaultThreshold

          Threshold getDefaultThreshold()

    - #### getElements

          FilterDefinitionElement[] getElements()

    - #### getPurgeSeconds

          int getPurgeSeconds()

    - #### getRecorders

          Recorder[] getRecorders()