---
name: "Monitoring::Livestatus::Class::Base::Abstract"
section: "3pm"
platform: "linux"
package: "libmonitoring-livestatus-class-perl"
version: "0.06-1.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Monitoring::Livestatus::Class::Base::Abstract"
---

# Monitoring::Livestatus::Class::Base::Abstract(3pm)

Base class to generate livestatus statments

## NAME

Monitoring::Livestatus::Class::Base::Abstract - Base class to generate livestatus statments

### SYNOPSIS

## ATTRIBUTES

### ctx

Reference to context object Monitoring::Livestatus::Class

### mode

### compining\_prefix

## METHODS

### apply

Example usage:

```
    my $filter_obj         = Monitoring::Livestatus::Class::Abstract::...->new();
    $filter_obj->apply( { name => 'localhost' } );
    $filter_obj->apply( { name => [ 'localhost', 'gateway' ] } );
    $filter_obj->apply( [ { name => 'localhost' }, { name => 'gateway' } ] );
```

Returns: `@statments`\|\\@statments

## INTERNAL METHODS

- build\_mode

  - build\_compining\_prefix

  - build\_operators

  - \_execute

  - \_recurse\_cond

  - \_cond\_UNDEF

  - \_cond\_ARRAYREF

  - \_cond\_HASHREF

  - \_cond\_hashpair\_SCALAR

  - \_cond\_hashpair\_ARRAYREF

  - \_cond\_hashpair\_HASHREF

  - \_refkind

  - \_dispatch\_refkind

  - \_METHOD\_FOR\_refkind

  ## AUTHOR

See "AUTHOR" in Monitoring::Livestatus::Class and "CONTRIBUTORS" in Monitoring::Livestatus::Class.

## COPYRIGHT & LICENSE

Copyright 2009 Robert Bohne.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.
