Package com.ganteater.ae
Class RecipeRunner
java.lang.Object
com.ganteater.ae.RecipeRunner
- All Implemented Interfaces:
RecipeListener
- Direct Known Subclasses:
WorkPlace
- Version:
- 1.0, 29-Jul-2005
- Author:
- victort
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
changeVariable
(String aAttribut, Object aValue) void
checkFailure
(CommandException e, Processor processor) void
closePort
(int thePort) createPort
(int thePort, String aDescription) void
criticalError
(CommandException aThrowable, Processor processor) void
endTask
(boolean aErrorState) void
errorInformation
(Processor processor, Throwable e, Node command) void
int
getTitle()
boolean
static void
void
makeRecipe
(String file) void
outToFrame
(Processor processor, Properties aProperties, Object aTheValue) void
pause()
void
resume()
void
runCommandFrame
(Properties params) void
void
void
setProcessor
(Processor processor) void
setProgress
(String aCurrentTaskName, long aMaxTags, long aCurrTags, boolean aErrorState) void
setRunMode
(String aMode) void
setTaskNode
(Node object) void
setTestName
(String aNameTask) void
startChildProcess
(TaskProcessorThread aMaxTestRunnable) void
startCommand
(int i) void
void
stopChildProcess
(TaskProcessorThread aMaxTestRunnable) void
stopTest()
-
Field Details
-
STATUS_SUCCESS
-
STATUS_FAILED
-
RUN_MODE_APPLICATION
-
RUN_MODE_WEB
-
fConfigNode
-
manager
-
-
Constructor Details
-
RecipeRunner
-
RecipeRunner
-
-
Method Details
-
getTaskProcessor
-
getTaskNode
-
setProcessor
-
makeRecipe
- Throws:
CommandException
-
runTest
- Throws:
Exception
-
setTaskNode
-
criticalError
- Specified by:
criticalError
in interfaceRecipeListener
-
checkFailure
- Specified by:
checkFailure
in interfaceRecipeListener
-
startTask
- Specified by:
startTask
in interfaceRecipeListener
-
setTestName
-
setProgress
public void setProgress(String aCurrentTaskName, long aMaxTags, long aCurrTags, boolean aErrorState) - Specified by:
setProgress
in interfaceRecipeListener
-
getManager
- Specified by:
getManager
in interfaceRecipeListener
-
endTask
- Specified by:
endTask
in interfaceRecipeListener
-
changeVariable
- Specified by:
changeVariable
in interfaceRecipeListener
-
startCommand
- Specified by:
startCommand
in interfaceRecipeListener
-
startChildProcess
- Specified by:
startChildProcess
in interfaceRecipeListener
-
stopChildProcess
- Specified by:
stopChildProcess
in interfaceRecipeListener
-
getConfigNode
-
stopTest
- Specified by:
stopTest
in interfaceRecipeListener
-
getTitle
-
inputFile
-
aboutTest
- Specified by:
aboutTest
in interfaceRecipeListener
-
setRunMode
-
getRunMode
- Specified by:
getRunMode
in interfaceRecipeListener
-
exceptionIgnored
- Specified by:
exceptionIgnored
in interfaceRecipeListener
-
getLogger
-
getStatus
-
createPort
- Specified by:
createPort
in interfaceRecipeListener
- Throws:
IOException
-
closePort
- Specified by:
closePort
in interfaceRecipeListener
-
errorInformation
public void errorInformation(Processor processor, Throwable e, Node command) throws CommandException - Specified by:
errorInformation
in interfaceRecipeListener
- Throws:
CommandException
-
outToFrame
public void outToFrame(Processor processor, Properties aProperties, Object aTheValue) throws Exception - Specified by:
outToFrame
in interfaceRecipeListener
- Throws:
Exception
-
runCommandFrame
- Specified by:
runCommandFrame
in interfaceRecipeListener
- Throws:
Throwable
-
createLog
- Specified by:
createLog
in interfaceRecipeListener
-
pause
- Specified by:
pause
in interfaceRecipeListener
-
resume
- Specified by:
resume
in interfaceRecipeListener
-
isNotifyMe
- Specified by:
isNotifyMe
in interfaceRecipeListener
-
getSystemVariables
-
setLog
-
main
- Throws:
IOException
-