Package adams.core.command.stdout
Interface StdOutProcessor
-
- All Superinterfaces:
CleanUpHandler
,Destroyable
,OptionHandler
- All Known Implementing Classes:
AbstractStdOutProcessor
,CallableActorSink
,Enqueue
,Log
,Null
public interface StdOutProcessor extends OptionHandler, CleanUpHandler
Interface for classes that process stdout output.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
processAsync(String output)
Processes the stdout output received when in async mode.void
processBlocking(String output)
Processes the stdout output received when in blocking mode.String
setUp(FlowContextHandler owner)
Configures the handler.-
Methods inherited from interface adams.core.CleanUpHandler
cleanUp
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
setUp
String setUp(FlowContextHandler owner)
Configures the handler.- Parameters:
owner
- the owning command- Returns:
- null if successfully setup, otherwise error message
-
processAsync
void processAsync(String output)
Processes the stdout output received when in async mode.- Parameters:
output
- the output to process
-
processBlocking
void processBlocking(String output)
Processes the stdout output received when in blocking mode.- Parameters:
output
- the output to process
-
-