public class ShellExecutor extends Object implements groovy.lang.GroovyObject
| Constructor and Description |
|---|
ShellExecutor() |
ShellExecutor(String script) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute() |
Object |
execute(List args) |
static Object |
execute(String script) |
static Object |
execute(String script,
List args) |
boolean |
getFailOnError() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
boolean |
isFailOnError() |
Object |
leftShift(String text) |
void |
setFailOnError(boolean value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public ShellExecutor(String script)
public ShellExecutor()
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic boolean getFailOnError()
public boolean isFailOnError()
public void setFailOnError(boolean value)
public Object execute()
Copyright © 2006-2013 Codehaus. All Rights Reserved.