|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.owasp.orizon.core.Trackable
org.owasp.orizon.core.Engine
org.owasp.orizon.dusk.Dusk
public class Dusk
Dusk is the rule processing engine. It will open library/ content, parse the rules and understand them. From 1.1.xx it is freecc based.
Field Summary |
---|
Fields inherited from class org.owasp.orizon.core.Engine |
---|
engineCantTrace, engineMissingTraceName, engineStartErrno, errno, errstr, faults, has_faults, has_output, initialized, inputName, O_E_DELIVER, O_E_ERROR, O_E_IDLE, O_E_PAUSED, O_E_READY, O_E_RUNNING, O_E_STOPPED, prompt, ps1, reader, rules, s, silence, status, t0, t1, time |
Fields inherited from class org.owasp.orizon.core.Trackable |
---|
trace, traceName |
Constructor Summary | |
---|---|
Dusk()
|
|
Dusk(java.io.BufferedReader b)
|
|
Dusk(java.lang.String recipeName)
|
Method Summary | |
---|---|
java.util.Vector<Rule> |
deliver()
|
boolean |
exec(java.lang.String command)
Engine specific execute command routine. |
boolean |
init()
Dusk initialization is issued by reading the recipe, storing it in a String object. |
boolean |
pause()
Pause the engine. |
protected boolean |
process(java.lang.Object n)
Engine specific freecc tree generated root node management routine. |
void |
setBufferedInputStream(java.io.BufferedReader b)
|
void |
setExpectedEngineName(java.lang.String engineName)
|
void |
setLang(int code)
|
void |
setRecipeName(java.lang.String recipeName)
|
boolean |
shell()
Engine specific interactive shell. |
boolean |
start()
Starts the Dusk engine. |
boolean |
stop()
Stop the engine. |
Methods inherited from class org.owasp.orizon.core.Engine |
---|
addFault, canOutput, canPause, canRun, canStop, debug, errorString, exitOnFailure, feed, getAppName, getElapsedStatement, getErrno, getFaults, getProperties, getScanMills, getStats, getTimer, hasFaults, hasOutput, isPaused, isRunning, isStopped, isTestMode, isTurnedOn, pauseTimer, reset, resetTimer, setAppName, setErrorString, setProperties, setReader, setStats, setTestMode, startTimer, stopTimer |
Methods inherited from class org.owasp.orizon.core.Trackable |
---|
getTraceName, isTrace, setTrace, setTraceName, trace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dusk()
public Dusk(java.lang.String recipeName)
public Dusk(java.io.BufferedReader b)
Method Detail |
---|
public void setBufferedInputStream(java.io.BufferedReader b)
public void setRecipeName(java.lang.String recipeName)
public void setLang(int code)
public void setExpectedEngineName(java.lang.String engineName)
public boolean init()
init
in class Engine
public boolean pause()
Engine
pause
in class Engine
public boolean shell()
Engine
shell
in class Engine
public boolean start()
start
in class Engine
public boolean stop()
Engine
stop
in class Engine
public boolean exec(java.lang.String command)
Engine
exec
in class Engine
command
- the command to execute
public java.util.Vector<Rule> deliver()
protected boolean process(java.lang.Object n)
Engine
process
in class Engine
n
- the root node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |