Package freemarker.debug
Class EnvironmentSuspendedEvent
- java.lang.Object
-
- java.util.EventObject
-
- freemarker.debug.EnvironmentSuspendedEvent
-
- All Implemented Interfaces:
Serializable
public class EnvironmentSuspendedEvent extends EventObject
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
Constructors Constructor Description EnvironmentSuspendedEvent(Object source, int line, DebuggedEnvironment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DebuggedEnvironmentgetEnvironment()The environment that was suspendedintgetLine()The line number in the template where the execution of the environment was suspended.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
EnvironmentSuspendedEvent
public EnvironmentSuspendedEvent(Object source, int line, DebuggedEnvironment env)
-
-
Method Detail
-
getLine
public int getLine()
The line number in the template where the execution of the environment was suspended.- Returns:
- int the line number
-
getEnvironment
public DebuggedEnvironment getEnvironment()
The environment that was suspended- Returns:
- DebuggedEnvironment
-
-