II.6 Runtime View
Note
The runtime view shows the behavior, interactions, and runtime dependencies of the building blocks in the form of concrete scenarios.
This helps us understand how the building blocks of our systems fulfill their respective tasks at runtime, and how they communicate/interact with each other at runtime.
II.6.1 Executing All Checks
A typical scenario within HtmlSC is the execution of all the available checking algorithms on a set of HTML pages. The following diagram depicts the checking operation in HtmlSC:
Figure 2.16: Execution of checking algorithms
The preceding diagram can be explained as follows:
- The user or build calls the htmlSanityCheck build target.
- Gradle (from within the build) calls sanityCheckHtml.
- HSC configures the input files and output directory.
- HSC creates an AllChecksRunner instance, gets all configured files into allFiles (planned), and gets all the available Checker classes based on the annotation.
- Finally, it performs...