NoOpOutputHandler
A mocking implementation of a command output handler.
This is intended to be used only in mocking tests of a CmdLang in a CmdBuilder that involve trivial output handling. This should not be used when using the CmdLang as a utilities, where CmdLang.outputHandler should be overridden as null, to allow for runtime checks of outputHandler if accidentally used.
Properties
Functions
IO action to perform after stage execution (under an environment like a container), in order to load stage output files from the file system for reading and further reporting. This method shall put the contents of output files into a readable internal state representing the outputs.
Retrieves the stored content for result after stage execution. This method should utilize the outputs state to derive and return the content.
Commands to execute after any core commands.
Commands to execute after any core commands and onAfterCore commands.
Commands to execute before any core commands.