class SubstituteTransformRuntime implements TransformRuntime {

    @Override
    public List<StreamlineEvent> execute(StreamlineEvent input) {
        List<StreamlineEvent> result;
        try {
            result = substitute(input);
        } catch (Exception ex) {
            LOG.error("Variable substitution failed", ex);
            LOG.error("Returning the input event as is without replacing the variables");
            result = Collections.singletonList(input);
        }
        return result;
    }

    public  SubstituteTransformRuntime();
    public  SubstituteTransformRuntime(SubstituteTransform substituteTransform);

}