org.codehaus.gmaven.mojo.support
Class ProcessLauncher
java.lang.Object
org.codehaus.gmaven.mojo.support.ProcessLauncher
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class ProcessLauncher
- extends Object
- implements groovy.lang.GroovyObject
Helper to execute a process and perform some verification logic to determine if the process is up or not.
- Version:
- $Id: ProcessLauncher.groovy 8 2009-07-16 09:15:04Z user57 $
- Author:
- Jason Dillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessLauncher
public ProcessLauncher()
getName
public String getName()
setName
public void setName(String value)
getProcess
public groovy.lang.Closure getProcess()
setProcess
public void setProcess(groovy.lang.Closure value)
getVerifier
public groovy.lang.Closure getVerifier()
setVerifier
public void setVerifier(groovy.lang.Closure value)
getVerifyWaitDelay
public int getVerifyWaitDelay()
setVerifyWaitDelay
public void setVerifyWaitDelay(int value)
getTimeout
public int getTimeout()
setTimeout
public void setTimeout(int value)
getBackground
public boolean getBackground()
isBackground
public boolean isBackground()
setBackground
public void setBackground(boolean value)
launch
public Object launch()
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.