private void setThresholdAttributes ( List < String > thresholdIds , HttpServletRequest request ) throws APIException { if ( thresholdIds == null || thresholdIds . isEmpty ( ) ) { return ; } request . setAttribute ( "thresholdsPresent" , Boolean . TRUE ) ; List < ThresholdStatusBean > thresholdStatusBeans = getThresholdBeans ( getThresholdAPI ( ) . getThresholdStatuses ( thresholdIds . toArray ( new String [ 0 ] ) ) ) ; request . setAttribute ( "thresholds" , thresholdStatusBeans ) ; }
Sets threshold specific attributes required to show thresholds on page .