
com.mntviews.jreport.JRInput 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;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
@JsonDeserialize(builder = JRInput.Builder.class)
public class JRInput {
@JsonProperty("source")
private final JRInputSource jrInputSource;
public static Builder custom() {
return new Builder();
}
private JRInput(Builder builder) {
this.jrInputSource = builder.jrInputSource;
}
@JsonPOJOBuilder
public static class Builder {
private JRInputSource jrInputSource;
@JsonProperty("source")
Builder withInputSource(JRInputSource inputSource) {
this.jrInputSource = inputSource;
return this;
}
public JRInput build() {
return new JRInput(this);
}
}
public JRInputSource getJrInputSource() {
return jrInputSource;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy