Package freemarker.debug
Interface DebuggedEnvironment
-
- All Superinterfaces:
DebugModel,java.rmi.Remote
public interface DebuggedEnvironment extends DebugModel
Represents the debugger-side mirror of a debuggedEnvironmentobject in the remote VM. This interface extendsDebugModel, and the properties of the Environment are exposed as hash keys on it. Specifically, the following keys are supported: "currentNamespace", "dataModel", "globalNamespace", "knownVariables", "mainNamespace", and "template".The debug model for the template supports keys "configuration" and "name".
The debug model for the configuration supports key "sharedVariables".
Additionally, all of the debug models for environment, template, and configuration also support all the setting keys of
Configurableobjects.
-
-
Field Summary
-
Fields inherited from interface freemarker.debug.DebugModel
TYPE_BOOLEAN, TYPE_COLLECTION, TYPE_CONFIGURATION, TYPE_DATE, TYPE_ENVIRONMENT, TYPE_HASH, TYPE_HASH_EX, TYPE_METHOD, TYPE_METHOD_EX, TYPE_NUMBER, TYPE_SCALAR, TYPE_SEQUENCE, TYPE_TEMPLATE, TYPE_TRANSFORM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetId()Returns a unique identifier for this environmentvoidresume()Resumes the processing of the environment in the remote VM after it was stopped on a breakpoint.voidstop()Stops the processing of the environment after it was stopped on a breakpoint.-
Methods inherited from interface freemarker.debug.DebugModel
get, get, get, get, getAsBoolean, getAsDate, getAsNumber, getAsString, getCollection, getDateType, getModelTypes, keys, size
-
-
-
-
Method Detail
-
resume
void resume() throws java.rmi.RemoteExceptionResumes the processing of the environment in the remote VM after it was stopped on a breakpoint.- Throws:
java.rmi.RemoteException
-
stop
void stop() throws java.rmi.RemoteException
Stops the processing of the environment after it was stopped on a breakpoint. Causes aStopExceptionto be thrown in the processing thread in the remote VM.- Throws:
java.rmi.RemoteException
-
getId
long getId() throws java.rmi.RemoteExceptionReturns a unique identifier for this environment- Throws:
java.rmi.RemoteException
-
-