
com.mntviews.jreport.JRTemplateSource 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.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import java.io.InputStream;
import java.sql.Connection;
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
include = JsonTypeInfo.As.WRAPPER_OBJECT)
@JsonSubTypes({
@JsonSubTypes.Type(value = JRTemplateSourceDB.class, name = "db"),
@JsonSubTypes.Type(value = JRTemplateSourceFile.class, name = "file"),
@JsonSubTypes.Type(value = JRTemplateSourceInline.class, name = "inline")
})
public abstract class JRTemplateSource {
abstract InputStream load(JRTemplateCommon jrTemplateCommon);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy