From 865f5e1e8940a9e24feb5c48075c76c6a75e6faf Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Fri, 2 Oct 2015 18:15:27 +0200 Subject: add description for getter / setter methods (#107370) Signed-off-by: Sven Nierlein Original-Author: Christoph Biedl diff --git a/lib/Monitoring/Plugin.pm b/lib/Monitoring/Plugin.pm index b39fc7a..9b2e371 100644 --- a/lib/Monitoring/Plugin.pm +++ b/lib/Monitoring/Plugin.pm @@ -412,6 +412,32 @@ following options: =back +=head2 GETTER/SETTER + +The following internal variables can be retrieved or set by calling a +method with the respective name. Expect for C, don't change +values unless you know what you're doing. + +Examples: + + use Data::Dumper; + print Dumper($plugin->perfdata); + $plugin->shortname('DifferentName'); + +=over + +=item shortname + +=item perfdata + +=item messages + +=item opts + +=item threshold + +=back + =head2 OPTION HANDLING METHODS C provides these methods for accessing the functionality in C. -- cgit v0.10-9-g596f