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.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public boolean getFailOnError()
public boolean isFailOnError()
public void setFailOnError(boolean value)
public Object execute()
Copyright © 2006-2013 Codehaus. All Rights Reserved.