org.codehaus.gmaven.mojo.support
Class ShellExecutor
java.lang.Object
org.codehaus.gmaven.mojo.support.ShellExecutor
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class ShellExecutor
- extends Object
- implements groovy.lang.GroovyObject
Helper to execute shell (/bin/sh) scripts.
- Version:
- $Id: ShellExecutor.groovy 11 2009-07-16 09:25:38Z user57 $
- Author:
- Jason Dillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShellExecutor
public ShellExecutor(String script)
ShellExecutor
public ShellExecutor()
getFailOnError
public boolean getFailOnError()
isFailOnError
public boolean isFailOnError()
setFailOnError
public void setFailOnError(boolean value)
leftShift
public Object leftShift(String text)
execute
public Object execute(List args)
execute
public Object execute()
execute
public static Object execute(String script,
List args)
execute
public static Object execute(String script)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
Copyright © 2006-2012 Codehaus. All Rights Reserved.