Package adams.core.command.stderr
Interface StdErrProcessor
-
- All Superinterfaces:
CleanUpHandler
,Destroyable
,OptionHandler
- All Known Implementing Classes:
AbstractStdErrProcessor
,CallableActorSink
,Enqueue
,Log
,Null
public interface StdErrProcessor extends OptionHandler, CleanUpHandler
Interface for classes that process stderr 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 stderr output received when in async mode.void
processBlocking(String output)
Processes the stderr 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 stderr output received when in async mode.- Parameters:
output
- the output to process
-
processBlocking
void processBlocking(String output)
Processes the stderr output received when in blocking mode.- Parameters:
output
- the output to process
-
-