
com.mntviews.jreport.JRTemplateCommon Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mnt-report Show documentation
Show all versions of mnt-report Show documentation
JasperReport server engine
package com.mntviews.jreport;
public class JRTemplateCommon {
private final JRConnection jrConnection;
private final String path;
public static Builder custom() {
return new Builder();
}
public JRConnection getJrConnection() {
return jrConnection;
}
public String getPath() {
return path;
}
private JRTemplateCommon(Builder builder) {
this.jrConnection = builder.jrConnection;
this.path = builder.path;
}
public static class Builder {
private JRConnection jrConnection;
private String path;
Builder withConnection(JRConnection connection) {
this.jrConnection = connection;
return this;
}
Builder withPath(String path) {
this.path = path;
return this;
}
public JRTemplateCommon build() {
return new JRTemplateCommon(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy