UNPKG

opennms

Version:

Client API for the OpenNMS network monitoring platform

25 lines (20 loc) 612 B
import {Clause} from './Clause'; import {Filter} from './Filter'; import {NestedRestriction} from './NestedRestriction'; import {Restriction} from './Restriction'; /** * A visitor for filters. * * @interface * @category Filtering */ export interface IFilterVisitor { /** Process a [[Filter]] */ onFilter?: (filter: Filter) => void; /** Process a [[Clause]] */ onClause?: (clause: Clause) => void; /** Process a [[Restriction]] */ onRestriction?: (restriction: Restriction) => void; /** Process a [[NestedRestriction]] */ onNestedRestriction?: (restriction: NestedRestriction) => void; }