You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation has a private writeToFile() method invoked from the public run() method. If someone wanted to extend the ModuleExecutor and customize the handling of the ResultSequence, they would need to re-implement the entire run() method.
It would be easier/better to expose a method, such as processResultSequence(ResultSequence seq) that an extending class could override, rather than duplicating the implementation of the run() method.
The text was updated successfully, but these errors were encountered:
The current implementation has a private
writeToFile()
method invoked from the publicrun()
method. If someone wanted to extend the ModuleExecutor and customize the handling of the ResultSequence, they would need to re-implement the entirerun()
method.It would be easier/better to expose a method, such as
processResultSequence(ResultSequence seq)
that an extending class could override, rather than duplicating the implementation of therun()
method.The text was updated successfully, but these errors were encountered: