protected void configureThresholdEvaluatorBuilder(final ThresholdsEvaluatorBuilder thrb, final ICommandLine cl) throws BadThresholdException {
        if (cl.hasOption("th")) {
            for (Object obj : cl.getOptionValues("th")) {
                thrb.withThreshold(obj.toString());
            }
        }
    }
protected void configureThresholdEvaluatorBuilder ( final ThresholdsEvaluatorBuilder thrb , final ICommandLine cl ) throws BadThresholdException { if ( cl . hasOption ( "th" ) ) { for ( Object obj : cl . getOptionValues ( "th" ) ) { thrb . withThreshold ( obj . toString ( ) ) ; } } }
Override this method if you don't use the new threshold syntax. Here you
must tell the threshold evaluator all the threshold it must be able to
evaluate. Give a look at the source of the CheckOracle plugin for an
example of a plugin that supports both old and new syntax.

@param thrb
The {@link ThresholdsEvaluatorBuilder} object to be configured
@param cl
The command line

@throws BadThresholdException
-