The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::PerlWatcher::Status - Represents the result of single watcher poll

VERSION

version 0.16_1

ATTRIBUTES

watcher

The watcher, to which current status relates to

level

The level of severity of single watcher poll (notice..alert)

description

Closure, which beign invoked, returns string, describing current status.

items

Closure, which beign invoked, returns array ref of EventItems.

timestamp

The timestamp of status. The default value is just a current time.

METHODS

updated_from

Checks weather the current status $a differs from the other status $b. The both statuses considered the same if they have the same level and the same items. Items are compared by content. All timestamps have no affect on the result.

AUTHOR

Ivan Baidakou <dmol@gmx.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Ivan Baidakou.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.