template-listener.template.js Maven / Gradle / Ivy
/*
* Copyright (c) 2010-2019 SAP and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* SAP - initial API and implementation
*/
exports.getTemplate = function() {
return {
"name": "Message Listener",
"description": "Listener for a message with a simple Javascript handler",
"sources": [
{
"location": "/template-listener/listener.template",
"action": "generate",
"rename": "{{fileName}}.listener"
},
{
"location": "/template-listener/handler.js.template",
"action": "generate",
"rename": "{{fileName}}-handler.js"
},
{
"location": "/template-listener/trigger.js.template",
"action": "generate",
"rename": "{{fileName}}-trigger.js"
}],
"parameters": []
};
};
© 2015 - 2025 Weber Informatics LLC | Privacy Policy