final String currentDecoratorStr = decoratorIterator.next(); if (VisualizationConstants.RESPONSE_TIME_DECORATOR_FLAG_NS.equals(currentDecoratorStr)) { plugin.addDecorator(new ResponseTimeNodeDecorator(TimeUnit.NANOSECONDS)); continue; } else if (VisualizationConstants.RESPONSE_TIME_DECORATOR_FLAG_US.equals(currentDecoratorStr)) { plugin.addDecorator(new ResponseTimeNodeDecorator(TimeUnit.MICROSECONDS)); continue; } else if (VisualizationConstants.RESPONSE_TIME_DECORATOR_FLAG_MS.equals(currentDecoratorStr)) { plugin.addDecorator(new ResponseTimeNodeDecorator(TimeUnit.MILLISECONDS)); continue; } else if (VisualizationConstants.RESPONSE_TIME_DECORATOR_FLAG_S.equals(currentDecoratorStr)) { plugin.addDecorator(new ResponseTimeNodeDecorator(TimeUnit.SECONDS)); continue; } else if (Constants.RESPONSE_TIME_COLORING_DECORATOR_FLAG.equals(currentDecoratorStr)) { final int threshold = Integer.parseInt(thresholdStringStr); plugin.addDecorator(new ResponseTimeColorNodeDecorator(threshold)); } catch (final NumberFormatException exc) { this.logger.error("Failed to parse int value of property " + "threshold(ms) : " + thresholdStringStr);