Skip to content
Snippets Groups Projects
Commit da124e89 authored by Andrea Spadaccini's avatar Andrea Spadaccini
Browse files

Generalize HooksMaster


- remove any dependence on Logical Units from the HooksMaster;
- add a new function parameter to the constructor, a function that is
  expected to convert the results of the hooks execution in a format
  understood by the HooksMaster;
- add a factory method that builds a HooksMaster from a LU, keeping the
  interface of the old constructor of HooksMaster;
- remove usage of Processor.hmclass from external classes, introducing
  the Processor.BuildHooksMaster method;
- update unit tests.

Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
parent fd7b69c0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment