From 33d9b9bbe6ee1d9348be3e876bdd24209d2ff0e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=9B=8B=E8=9B=8B?= <1719411461@qq.com> Date: Thu, 28 Dec 2017 13:16:31 +0800 Subject: [PATCH] =?UTF-8?q?update:=E7=BB=99Ureport=E5=8A=A0=E5=85=A5PropDo?= =?UTF-8?q?c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../boot/starter/ureport/UreportServletStarter.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nutzboot-starter-ureport/src/main/java/org/nutz/boot/starter/ureport/UreportServletStarter.java b/nutzboot-starter-ureport/src/main/java/org/nutz/boot/starter/ureport/UreportServletStarter.java index ace4739d..ddd81db5 100644 --- a/nutzboot-starter-ureport/src/main/java/org/nutz/boot/starter/ureport/UreportServletStarter.java +++ b/nutzboot-starter-ureport/src/main/java/org/nutz/boot/starter/ureport/UreportServletStarter.java @@ -8,6 +8,7 @@ import javax.servlet.ServletConfig; import javax.servlet.ServletContext; import javax.servlet.ServletException; +import org.nutz.boot.annotation.PropDoc; import org.nutz.boot.starter.WebServletFace; import org.nutz.ioc.loader.annotation.IocBean; import org.springframework.web.context.WebApplicationContext; @@ -17,7 +18,15 @@ import com.bstek.ureport.console.UReportServlet; @SuppressWarnings("serial") @IocBean public class UreportServletStarter extends UReportServlet implements WebServletFace { - + + @PropDoc(value = "定义UReport2中提供的默认基于文件系统的报表存储目录", defaultValue = "") + public static final String UREPORT_FILESTOREDIR = "ureport.fileStoreDir"; + + + @PropDoc(value = "是否启用自定义报表存储器", defaultValue = "") + public static final String UREPORT_DISABLEFILEPROVIDER= "ureport.disableFileProvider"; + + public String getName() { return "ureport"; }