/** * Set the components for a transformation. * * @param transformation the target {@code Transformation} * @param components the target components, a map of (id -> {@code Component}) */ private static void addComponents(final Transformation transformation, final Map<String, Component> components) { for (final Component component : components.values()) { transformation.addComponent(component); } }