@Test public void should_generate_a_container_properties_object_with_custom_properties() { Map<String, String> customProps = new HashMap<>(); customProps.put("a", "b"); final ChameleonTargetConfiguration chameleonTargetConfiguration = new ChameleonTargetConfiguration("tomcat", "8.0.0", Mode.MANAGED, customProps); final Properties containerDefinitionAsProperties = chameleonTargetConfiguration.getContainerDefinitionAsProperties(); assertThat(containerDefinitionAsProperties) .contains(entry("arq.container.chameleon.configuration.a", "b")); }
public Properties getContainerDefinitionAsProperties() { Properties properties = new Properties(); properties.put("arq.container.chameleon.configuration.chameleonTarget", toChameleonTarget()); properties.put("arq.container.chameleon.default", "true"); updateCustomProperties(properties); return properties; }
ChameleonTargetConfiguration { public Properties getContainerDefinitionAsProperties() { Properties properties = new Properties(); properties.put("arq.container.chameleon.configuration.chameleonTarget", toChameleonTarget()); properties.put("arq.container.chameleon.default", "true"); updateCustomProperties(properties); return properties; } }
ChameleonTargetConfiguration { public Properties getContainerDefinitionAsProperties() { Properties properties = new Properties(); properties.put("arq.container.chameleon.configuration.chameleonTarget", toChameleonTarget()); properties.put("arq.container.chameleon.default", "true"); updateCustomProperties(properties); return properties; } protected  ChameleonTargetConfiguration(String value); protected  ChameleonTargetConfiguration(String container, String version, Mode mode,
        Map<String, String> customProperties); }
ChameleonTargetConfiguration { public Properties getContainerDefinitionAsProperties() { Properties properties = new Properties(); properties.put("arq.container.chameleon.configuration.chameleonTarget", toChameleonTarget()); properties.put("arq.container.chameleon.default", "true"); updateCustomProperties(properties); return properties; } protected  ChameleonTargetConfiguration(String value); protected  ChameleonTargetConfiguration(String container, String version, Mode mode,
        Map<String, String> customProperties); static ChameleonTargetConfiguration from(ChameleonTarget chameleonTarget); ChameleonTargetConfiguration importConfiguration(ChameleonTargetConfiguration other); Properties getContainerDefinitionAsProperties(); Node getContainerDefinitionAsXml(); String getContainer(); String getVersion(); Mode getMode(); Map<String, String> getCustomProperties(); String toChameleonTarget(); }
ChameleonTargetConfiguration { public Properties getContainerDefinitionAsProperties() { Properties properties = new Properties(); properties.put("arq.container.chameleon.configuration.chameleonTarget", toChameleonTarget()); properties.put("arq.container.chameleon.default", "true"); updateCustomProperties(properties); return properties; } protected  ChameleonTargetConfiguration(String value); protected  ChameleonTargetConfiguration(String container, String version, Mode mode,
        Map<String, String> customProperties); static ChameleonTargetConfiguration from(ChameleonTarget chameleonTarget); ChameleonTargetConfiguration importConfiguration(ChameleonTargetConfiguration other); Properties getContainerDefinitionAsProperties(); Node getContainerDefinitionAsXml(); String getContainer(); String getVersion(); Mode getMode(); Map<String, String> getCustomProperties(); String toChameleonTarget(); static final int VERSION; static final int MODE; }