set Success And Failure Reporters
Set the success reporter and failure reporter.
Parameters
the Success Reporter
What to do when the module compilation completes successfully.
the Failure Reporter
What to do when the module compilation completes unsuccessfully.