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 TypeMethodDescriptionvoidvoidchangeVariable(String aAttribut, Object aValue) voidcheckFailure(CommandException e, Processor processor) voidclosePort(int thePort) createPort(int thePort, String aDescription) voidcriticalError(CommandException aThrowable, Processor processor) voidendTask(boolean aErrorState) voiderrorInformation(Processor processor, Throwable e, Node command) voidintgetTitle()booleanstatic voidvoidmakeRecipe(String file) voidoutToFrame(Processor processor, Properties aProperties, Object aTheValue) voidpause()voidresume()voidrunCommandView(Properties params) voidvoidvoidsetProcessor(Processor processor) voidsetProgress(String aCurrentTaskName, long aMaxTags, long aCurrTags, boolean aErrorState) voidsetRunMode(String aMode) voidsetTaskNode(Node object) voidsetTestName(String aNameTask) voidstartChildProcess(TaskProcessorThread aMaxTestRunnable) voidstartCommand(int i) voidvoidstopChildProcess(TaskProcessorThread aMaxTestRunnable) voidstopTest()
-
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
-
setTaskNode
-
criticalError
- Specified by:
criticalErrorin interfaceRecipeListener
-
checkFailure
- Specified by:
checkFailurein interfaceRecipeListener
-
startTask
- Specified by:
startTaskin interfaceRecipeListener
-
setTestName
-
setProgress
public void setProgress(String aCurrentTaskName, long aMaxTags, long aCurrTags, boolean aErrorState) - Specified by:
setProgressin interfaceRecipeListener
-
getManager
- Specified by:
getManagerin interfaceRecipeListener
-
endTask
- Specified by:
endTaskin interfaceRecipeListener
-
changeVariable
- Specified by:
changeVariablein interfaceRecipeListener
-
startCommand
- Specified by:
startCommandin interfaceRecipeListener
-
startChildProcess
- Specified by:
startChildProcessin interfaceRecipeListener
-
stopChildProcess
- Specified by:
stopChildProcessin interfaceRecipeListener
-
getConfigNode
-
stopTest
- Specified by:
stopTestin interfaceRecipeListener
-
getTitle
-
inputFile
-
aboutTest
- Specified by:
aboutTestin interfaceRecipeListener
-
setRunMode
-
getRunMode
- Specified by:
getRunModein interfaceRecipeListener
-
exceptionIgnored
- Specified by:
exceptionIgnoredin interfaceRecipeListener
-
getLogger
-
getStatus
-
createPort
- Specified by:
createPortin interfaceRecipeListener- Throws:
IOException
-
closePort
- Specified by:
closePortin interfaceRecipeListener
-
errorInformation
public void errorInformation(Processor processor, Throwable e, Node command) throws CommandException - Specified by:
errorInformationin interfaceRecipeListener- Throws:
CommandException
-
outToFrame
- Specified by:
outToFramein interfaceRecipeListener
-
runCommandView
- Specified by:
runCommandViewin interfaceRecipeListener- Throws:
Throwable
-
createLog
- Specified by:
createLogin interfaceRecipeListener
-
pause
- Specified by:
pausein interfaceRecipeListener
-
resume
- Specified by:
resumein interfaceRecipeListener
-
isNotifyMe
- Specified by:
isNotifyMein interfaceRecipeListener
-
getSystemVariables
-
setLog
-
main
- Throws:
IOException
-