private void setProperties(final ElementRegistry pipelineElementRegistry,
                               final String id,
                               final String elementType,
                               final Object elementInstance,
                               final PipelineData pipelineData,
                               final SteppingController controller) {
        // Set the properties on this instance.
        for (final PipelineProperty property : pipelineData.getProperties().getAdd()) {
            if (property.getElement().equals(id)) {
                setProperty(pipelineElementRegistry, id, elementType, elementInstance, property.getName(),
                        property.getValue(), controller);
            }
        }
    }
Set the properties on the newly created element instance.
stroom-pipeline/src/main/java/stroom/pipeline/factory/PipelineFactory.java