This class provides methods to process the following two types of parameters that are often used in plugins.
-
Configuration Parameters
-
Procedure Parameters
This is an example usage.
my $parameter = $stepParameters->getParameter('query'); print "Parameter: $parameter\n";
getValue()
Returns a value of the current parameter.
Usage
my $parameterValue = $parameter->getValue();
This method gets applied by default, if FlowPDF::Parameter object is used in string context**:
# getValue is being applied automatically in string context. Following 2 lines of code are doing the same: print "Query: $query\n"; printf "Query: %s\n", $query->getValue();