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

io.engineblock.activities.csv.statements.ReadyCSVStatementsTemplate Maven / Gradle / Ivy

Go to download

A engineblock ActivityType (AT) driver module; Provides a diagnostic activity that logs input at some interval

There is a newer version: 2.11.04
Show newest version
package io.engineblock.activities.csv.statements;

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

public class ReadyCSVStatementsTemplate {

    private List templateList = new ArrayList<>();

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy