Refactor: Make Hook an abstract class

Reduce visibility of Hook and AsynchronousHook to package private.

Make Hook an abstract class, defining abstract "execute" methods.

Rename the "run" and "submit" methods in SynchronousHook and
AsynchronousHook to "execute" to override that defined in Hook.

Change-Id: I4f69aeb8cce336a5765d784a2a7e793743a33ad7
19 files changed
tree: 58291f6b5707af2bceca79ed22188a63fa1745c5
  1. src/
  2. .gitignore
  3. BUILD