com.agimatec.dbmigrate.groovy
Class GroovyScriptTool
java.lang.Object
com.agimatec.dbmigrate.groovy.GroovyScriptTool
- All Implemented Interfaces:
- MigrationToolAware
public class GroovyScriptTool
- extends Object
- implements MigrationToolAware
Description: invoke a groovy script with the migration tool
User: roman.stumm
Date: 13.11.2007
Time: 16:09:13
Copyright: Agimatec GmbH
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyScriptTool
public GroovyScriptTool(String rootDir)
throws IOException
- Throws:
IOException
GroovyScriptTool
public GroovyScriptTool(String[] rootDirs)
throws IOException
- Throws:
IOException
start
public void start(String groovyScript)
throws groovy.util.ScriptException,
groovy.util.ResourceException
- Throws:
groovy.util.ScriptException
groovy.util.ResourceException
setMigrationTool
public void setMigrationTool(MigrationTool tool)
- Specified by:
setMigrationTool in interface MigrationToolAware
getBinding
public groovy.lang.Binding getBinding()
getScriptEngine
public groovy.util.GroovyScriptEngine getScriptEngine()
Copyright © 2008-2011. All Rights Reserved.