|
|
@@ -31,7 +31,7 @@ import com.jfinal.core.paragetter.JsonRequest;
|
|
|
*/
|
|
|
public class ActionReporter {
|
|
|
|
|
|
- protected static final String title = "\nJFinal-" + Const.JFINAL_VERSION + " action report -------- ";
|
|
|
+ protected static String title = "\nJFinal-" + Const.JFINAL_VERSION + " action report -------- ";
|
|
|
protected static final String[] BLANK_STRING_ARRAY = {""};
|
|
|
protected static boolean reportAfterInvocation = true;
|
|
|
protected static int maxOutputLengthOfParaValue = 512;
|
|
|
@@ -43,6 +43,10 @@ public class ActionReporter {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
+ public static void setTitle(String title) {
|
|
|
+ ActionReporter.title = title;
|
|
|
+ }
|
|
|
+
|
|
|
public static void setReportAfterInvocation(boolean reportAfterInvocation) {
|
|
|
ActionReporter.reportAfterInvocation = reportAfterInvocation;
|
|
|
}
|