The options to construct the class.
Protected Readonly_The application configuration service, to get the settings specified by the
configKeys option.
Protected Optional_A deferred promise to return when another service asks if the file has been generated. Once this service finishes generating the file, the promise will be resolved for all implementations that hold a reference to this deferred.
Protected_Whether or not the file was already generated.
Protected Readonly_The service that interacts with the filesystem.
Protected Readonly_The service that logs messages on the terminal, in case the silent option is false.
Protected Readonly_The service customization options.
Protected Optional Readonly_A service that can provide values to be replaced in the template.
Gets the customization options.
Protected_Helper method to get the values that will be replaced in the template. If a "values
service" was specified in the constructor, it will get the values from there,
otherwise, it will use the configKeys option to get the values from the
application configuration.
Protected_Processes the HTML template by replacing the placeholders with the actual values.
The template for the HTML file.
The values dictionary that should be replaced in the template.
Generates the HTML file.
Gets a promise that will be resolved when the file has been generated.
This is a utility service that generates an HTML file with custom information when the application is started.