org.schmant.app.groovy
Class GroovyExecutorFactory
java.lang.Object
org.schmant.ScriptExecutorFactory
org.schmant.app.groovy.GroovyExecutorFactory
public final class GroovyExecutorFactory
- extends ScriptExecutorFactory
Script executor factory that handles build scripts with the file name
extension groovy
.
- Since:
- 1.1
- Author:
- Karl Gustafsson
- See Also:
GroovyExecutor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyExecutorFactory
public GroovyExecutorFactory()
canHandleScriptFileNameExtension
public boolean canHandleScriptFileNameExtension(String extension)
- Description copied from class:
ScriptExecutorFactory
- Does this script executor factory create a
ScriptExecutor
that
can handle build scripts with the supplied file name extension?
- Specified by:
canHandleScriptFileNameExtension
in class ScriptExecutorFactory
- Parameters:
extension
- The file name extension in lower case, without the
leading dot.
- Returns:
true
if this script executor factory can handle the
script file.
create
public ScriptExecutor create(LauncherSettings ls,
Report r)
- Description copied from class:
ScriptExecutorFactory
- Create a
ScriptExecutor
.
- Specified by:
create
in class ScriptExecutorFactory
- Parameters:
ls
- Command line arguments.r
- A report for logging output to.
- Returns:
- A script executor.