Package net.sf.jasperreports.governors
Class TimeoutGovernor
- java.lang.Object
-
- net.sf.jasperreports.engine.JRAbstractScriptlet
-
- net.sf.jasperreports.engine.JRDefaultScriptlet
-
- net.sf.jasperreports.governors.TimeoutGovernor
-
public class TimeoutGovernor extends JRDefaultScriptlet
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_TIMEOUT
static String
PROPERTY_TIMEOUT_ENABLED
-
Fields inherited from class net.sf.jasperreports.engine.JRAbstractScriptlet
dataset, EXCEPTION_MESSAGE_KEY_FIELD_NOT_FOUND, EXCEPTION_MESSAGE_KEY_PARAMETER_NOT_FOUND, EXCEPTION_MESSAGE_KEY_VARIABLE_NOT_FOUND, EXCEPTION_MESSAGE_KEY_VARIABLE_VALUE_INCOMPATIBLE, fieldsMap, groups, parametersMap, scriptletDefinition, variablesMap
-
-
Constructor Summary
Constructors Constructor Description TimeoutGovernor(long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeDetailEval()
Called before evaluating each detail.void
beforeReportInit()
Called before the report is initialized.-
Methods inherited from class net.sf.jasperreports.engine.JRDefaultScriptlet
afterColumnInit, afterDetailEval, afterGroupInit, afterPageInit, afterReportInit, beforeColumnInit, beforeGroupInit, beforePageInit
-
Methods inherited from class net.sf.jasperreports.engine.JRAbstractScriptlet
callAfterColumnInit, callAfterDetailEval, callAfterGroupInit, callAfterPageInit, callAfterReportInit, callBeforeColumnInit, callBeforeDetailEval, callBeforeGroupInit, callBeforePageInit, callBeforeReportInit, evaluateProperties, getFieldValue, getParameterValue, getParameterValue, getVariableValue, setData, setScriptletDefinition, setVariableValue
-
-
-
-
Field Detail
-
PROPERTY_TIMEOUT_ENABLED
public static final String PROPERTY_TIMEOUT_ENABLED
- See Also:
- Constant Field Values
-
PROPERTY_TIMEOUT
public static final String PROPERTY_TIMEOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
beforeReportInit
public void beforeReportInit() throws JRScriptletException
Description copied from class:JRAbstractScriptlet
Called before the report is initialized.- Overrides:
beforeReportInit
in classJRDefaultScriptlet
- Throws:
JRScriptletException
-
beforeDetailEval
public void beforeDetailEval() throws JRScriptletException
Description copied from class:JRAbstractScriptlet
Called before evaluating each detail.- Overrides:
beforeDetailEval
in classJRDefaultScriptlet
- Throws:
JRScriptletException
-
-