return properties;
}
public Topology build() {
Topology topology = new Topology();
PropertyInterpreter propertyInterpreter = new PropertyInterpreter(topology);
for (Property property : properties) {
try {
propertyInterpreter.interpret(property.getName(), property.getValue());
} catch (InterpretException ie) {
log.failedToInterpretProperty(property.getName(), ie);
throw new IllegalArgumentException(gatewayResources.wrongTopologyDataFormatError());
}
}