private Properties whirrConfigurationsToProperties( HadoopHostType.WhirrConfiguration.Configuration configuration){ Properties whirrConfigProps = new Properties(); for(HadoopHostType.WhirrConfiguration.Configuration.Property property: configuration.getPropertyArray()) { whirrConfigProps.put(property.getName(), property.getValue()); } return whirrConfigProps; }