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

oms3.dsl.Params Maven / Gradle / Ivy

There is a newer version: 0.8.1
Show newest version
package oms3.dsl;

import java.util.ArrayList;
import java.util.List;

public class Params implements Buildable {

    // parameter file
    String file;
    List param = new ArrayList();

    @Override
    public Buildable create(Object name, Object value) {
        Param p = new Param(name.toString(), value);
        param.add(p);
        return p;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public String getFile() {
        return file;
    }

    public List getParam() {
        return param;
    }

    public int getCount() {
        return param.size();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy