ASNMTAP
view release on metacpan or search on metacpan
lib/ASNMTAP/Asnmtap.pod view on Meta::CPAN
=item Return
returned the get option argv value or undef when item doesn't exist
=item Example
my $objectAsnmtap = ASNMTAP::Asnmtap->new (
...
_programUsagePrefix => '[--dumpData] [--commandLineOption]',
_programHelpPrefix => "--dumpData ...
--commandLineOption ...",
_programGetOptions => ['dumpData', 'commandLineOption=s'],
...
);
my $dumpData = $objectAsnmtap->getOptionsArgv('dumpData');
my $commandLineOption = $objectAsnmtap->getOptionsArgv('commandLineOption');
=back
=item getOptionsValue()
=over 4
=item Arguments
item: scalar, get option value
=item Function
Get the option value for item
=item Return
returned the get option value or undef when item doesn't exist
=back
=item getOptionsType()
=over 4
=item Arguments
item: scalar, get option type
=item Function
Get the option type for item
=over 4
=item Supported items for ASNMTAP::Asnmtap are
status, asnmtapEnv, onDemand, logging, debugfile and debug
=item Supported items for ASNMTAP::Asnmtap::Plugins are
timeout, trendline, environment, proxy, host, url, port, community, username, password, filename, interval, loglevel, year, quarter, month, warning and critical
=item Supported items for ASNMTAP::Asnmtap::Plugins::Nagios are
ostype and metric
=back
=item Return
returned the get option type (':' or '=') or undef when item doesn't exist
=back
=item debug()
=over 4
=item Arguments (optional)
scalar, 0 = debug off and 1 = debug on
=item Function
Set and/or get package ASNMTAP::Asnmtap debug value
=back
=back
=head2 Class accessor methods
=over 4
=item dumpData()
=over 4
=item Arguments (optional)
debug, scalar
=item Function
Stringified the data structures from the current object when _debug => 1 or argument debug = 1
=back
=back
=head2 Utility methods
=over 4
=item printRevision()
=over 4
=item Arguments (optional)
exit: scalar, 1
( run in 0.594 second using v1.01-cache-2.11-cpan-5837b0d9d2c )