public class EventDispatchJob extends Job implements IScriptRegistry
Constructor and Description |
---|
EventDispatchJob(IEventProcessor host,
IEventProcessor debugger)
Creates a new dispatcher.
|
Modifier and Type | Method and Description |
---|---|
void |
addEvent(IDebugEvent event) |
IResource |
getResource(Script script)
|
Script |
getScript(IResource resource)
|
void |
put(Script script)
Add a new
Script to the registry and store its mapping. |
void |
terminate() |
addJobChangeListener, belongsTo, cancel, create, create, createSystem, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
getAdapter
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdapter
public EventDispatchJob(IEventProcessor host, IEventProcessor debugger)
host
- debug modeldebugger
- debugger implementationpublic void addEvent(IDebugEvent event)
public void terminate()
public Script getScript(IResource resource)
IScriptRegistry
public IResource getResource(Script script)
IScriptRegistry
getResource
in interface IScriptRegistry
IResource
identified by Script
or null
if no mapping found.public void put(Script script)
IScriptRegistry
Script
to the registry and store its mapping.put
in interface IScriptRegistry
script
- Script to be stored in registry.