Package freemarker.debug
Class EnvironmentSuspendedEvent
java.lang.Object
java.util.EventObject
freemarker.debug.EnvironmentSuspendedEvent
- All Implemented Interfaces:
Serializable
Event describing a suspension of an environment (ie because it hit a
breakpoint).
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentSuspendedEvent(Object source, String templateName, int line, DebuggedEnvironment env)
-
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
EnvironmentSuspendedEvent
public EnvironmentSuspendedEvent(Object source, String templateName, int line, DebuggedEnvironment env)
-
-
Method Details
-
getName
The name of the template where the execution of the environment was suspended- Returns:
- String the template name
-
getLine
public int getLine()The line number in the template where the execution of the environment was suspended.- Returns:
- int the line number
-
getEnvironment
The environment that was suspended- Returns:
- DebuggedEnvironment
-