All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.engineblock.activities.json.statements.ReadyFileStatementsTemplate Maven / Gradle / Ivy

Go to download

A engineblock ActivityType (AT) driver module; Provides an activity capable of writing results out via JSON

There is a newer version: 1.0.65
Show newest version
package io.engineblock.activities.json.statements;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

public class ReadyFileStatementsTemplate {

    private List templateList = new ArrayList<>();

    public void addTemplate(String name, String stmtTemplate, Map bindingSpecs) {
        ReadyFileStatementTemplate rgst = new ReadyFileStatementTemplate(name, stmtTemplate, bindingSpecs);
    }

    public void addTemplate(ReadyFileStatementTemplate template) {
        this.templateList.add(template);
    }

    public List resolve() {
        return templateList.stream().map(ReadyFileStatementTemplate::resolve)
                .collect(Collectors.toList());
    }

    public int size() {
        return templateList.size();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy