
org.pentaho.dm.kf.KFGroovyScript Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kfGroovy Show documentation
Show all versions of kfGroovy Show documentation
Knowledge Flow plugin that provides a Knowledge Flow step that wraps around a Groovy script. The plugin generates a fully compilable template Groovy script that implements various Knowledge Flow interfaces. The user can fill in the methods that are necessary to accomplish the desired logic. The script is compiled at runtime and the Groovy component passes incoming events to the script and collects and passes on generated events.
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
/*
* KFGroovyScript.java
* Copyright (C) 2009 Pentaho Corporation
*
*/
package org.pentaho.dm.kf;
/**
* Interface implemented by all KnowledgeFlow Groovy
* script classes
*
* @author Mark Hall (mhall{[at]}pentaho{[dot]}org)
* @version $Revision: 8108 $
*/
public interface KFGroovyScript {
/**
* Allows the parent GroovyComponent to pass
* itself to the script as an instance of GroovyHelper.
*
* @param parent the parent GroovyHelper.
*/
void setManager(GroovyHelper parent);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy