@Test void getToolsReturnsDefaultTools() { assertEquals(NumberTool.class.getName(), this.configuration.getTools().get("numbertool")); }
@Override public Properties getTools() { Properties props = new Properties(); props.putAll(this.defaultTools); Properties configuredTools = this.configuration.getProperty(PREFIX + "tools", Properties.class); if (configuredTools != null) { props.putAll(configuredTools); } return props; }
DefaultVelocityConfiguration implements Initializable, VelocityConfiguration { @Override public Properties getTools() { Properties props = new Properties(); props.putAll(this.defaultTools); Properties configuredTools = this.configuration.getProperty(PREFIX + "tools", Properties.class); if (configuredTools != null) { props.putAll(configuredTools); } return props; } }
DefaultVelocityConfiguration implements Initializable, VelocityConfiguration { @Override public Properties getTools() { Properties props = new Properties(); props.putAll(this.defaultTools); Properties configuredTools = this.configuration.getProperty(PREFIX + "tools", Properties.class); if (configuredTools != null) { props.putAll(configuredTools); } return props; }  }
DefaultVelocityConfiguration implements Initializable, VelocityConfiguration { @Override public Properties getTools() { Properties props = new Properties(); props.putAll(this.defaultTools); Properties configuredTools = this.configuration.getProperty(PREFIX + "tools", Properties.class); if (configuredTools != null) { props.putAll(configuredTools); } return props; }  @Override void initialize(); @Override Properties getProperties(); @Override Properties getTools(); }
DefaultVelocityConfiguration implements Initializable, VelocityConfiguration { @Override public Properties getTools() { Properties props = new Properties(); props.putAll(this.defaultTools); Properties configuredTools = this.configuration.getProperty(PREFIX + "tools", Properties.class); if (configuredTools != null) { props.putAll(configuredTools); } return props; }  @Override void initialize(); @Override Properties getProperties(); @Override Properties getTools();  }