|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.owasp.webscarab.plugin.Framework
public class Framework
creates a class that contains and controls the plugins.
Constructor Summary | |
---|---|
Framework()
Creates a new instance of Framework |
Method Summary | |
---|---|
void |
addConversation(ConversationID id,
java.util.Date when,
Request request,
Response response,
java.lang.String origin)
|
void |
addConversation(ConversationID id,
Request request,
Response response,
java.lang.String origin)
|
ConversationID |
addConversation(Request request,
Response response,
java.lang.String origin)
|
void |
addPlugin(Plugin plugin)
adds a new plugin into the framework |
CredentialManager |
getCredentialManager()
|
FrameworkModel |
getModel()
provided to allow plugins to gain access to the model. |
Plugin |
getPlugin(java.lang.String name)
retrieves the named plugin, if it exists |
ScriptManager |
getScriptManager()
|
java.lang.String[] |
getStatus()
|
java.lang.String |
getVersion()
returns the build version of WebScarab. |
boolean |
isBusy()
|
boolean |
isModified()
|
boolean |
isRunning()
|
ConversationID |
reserveConversationID()
|
void |
saveSessionData()
called to instruct the various plugins to save their current state to the store. |
void |
setSession(java.lang.String type,
java.lang.Object store,
java.lang.String session)
instructs the framework to use the provided model. |
void |
setUI(FrameworkUI ui)
links the framework to its GUI |
void |
startPlugins()
starts all the plugins in the framework |
boolean |
stopPlugins()
stops all the plugins in the framework |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Framework()
Method Detail |
---|
public ScriptManager getScriptManager()
public CredentialManager getCredentialManager()
public void setUI(FrameworkUI ui)
ui
- a class implementing the necessary interface methodspublic void setSession(java.lang.String type, java.lang.Object store, java.lang.String session) throws StoreException
StoreException
public FrameworkModel getModel()
public void addPlugin(Plugin plugin)
plugin
- the plugin to addpublic Plugin getPlugin(java.lang.String name)
name
- the name of the plugin
public void startPlugins()
public boolean isBusy()
public boolean isRunning()
public boolean isModified()
public java.lang.String[] getStatus()
public boolean stopPlugins()
public void saveSessionData() throws StoreException
StoreException
- if there is any problem saving the session datapublic java.lang.String getVersion()
public ConversationID reserveConversationID()
public void addConversation(ConversationID id, Request request, Response response, java.lang.String origin)
public void addConversation(ConversationID id, java.util.Date when, Request request, Response response, java.lang.String origin)
public ConversationID addConversation(Request request, Response response, java.lang.String origin)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |