|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Plugin
This abstract class lists the basics that a WebScarab plugin will need to provide
Method Summary | |
---|---|
void |
analyse(ConversationID id,
Request request,
Response response,
java.lang.String origin)
|
void |
flush()
called to instruct the plugin to flush any memory-only state to the store. |
java.lang.String |
getPluginName()
The plugin name |
java.lang.Object |
getScriptableObject()
|
Hook[] |
getScriptingHooks()
|
java.lang.String |
getStatus()
called to determine what the current status of the plugin is |
boolean |
isBusy()
called to test whether the plugin is able to be stopped |
boolean |
isModified()
called to determine whether the data stored within the plugin has been modified and should be saved |
boolean |
isRunning()
|
void |
run()
starts the plugin running |
void |
setSession(java.lang.String type,
java.lang.Object store,
java.lang.String session)
informs the plugin that the Session has changed |
boolean |
stop()
called to suspend or stop the plugin |
Method Detail |
---|
java.lang.String getPluginName()
void setSession(java.lang.String type, java.lang.Object store, java.lang.String session) throws StoreException
model
- the new model
StoreException
void run()
run
in interface java.lang.Runnable
boolean isRunning()
boolean isBusy()
java.lang.String getStatus()
boolean stop()
boolean isModified()
void flush() throws StoreException
StoreException
- if there is any problem saving the session datavoid analyse(ConversationID id, Request request, Response response, java.lang.String origin)
Hook[] getScriptingHooks()
java.lang.Object getScriptableObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |