* Copyright (c) 2018 Zachary Kniebel. All rights reserved.
* NOTICE: All information contained herein is, and remains the
* property of Zachary Kniebel. The intellectual and technical
* concepts contained herein are proprietary to Zachary Kniebel and
* may be covered by U.S. and Foreign Patents, patents in process,
* and are protected by trade secret or copyright law. Dissemination
* of this information or reproduction of this material is strictly
* forbidden unless prior written permission is obtained from Zachary
const COMPLETIONHANDLER_ID = "helloWorld!";
* Executes the completion handler with the given output directory path
* @param {string} outputDirectoryPath the path to the output directory
* @param {object} configurationLoader the configuration loader module
* @param {object} metaball holds the meta information about this generation
* @param {object} logger the logger
* @param {object} params object that holds custom parameters
var _execute = function (outputDirectoryPath, configurationLoader, metaball, logger, params) {
logger.info(`hello World! Output path is: "${outputDirectoryPath}"`);
* Registers the completion handler with the given CompletionHandlerManager - this function is required on all completion handler modules
* @param {CompletionHandlerManager} completionHandlerManager the trigger manager to register the trigger for
var registerCompletionHandler = function (completionHandlerManager) {
completionHandlerManager.registerCompletionHandler(COMPLETIONHANDLER_ID, _execute);
exports.COMPLETIONHANDLER_ID = COMPLETIONHANDLER_ID;
exports.registerCompletionHandler = registerCompletionHandler;