|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.itest.posix.Service
public class Service
Constructor Summary | |
---|---|
Service(String name)
|
Method Summary | |
---|---|
groovy.lang.MetaClass |
getMetaClass()
|
String |
getName()
Returns name of the service |
Object |
getProperty(String name)
|
Object |
invokeMethod(String name,
Object args)
|
int |
restart()
Restart a System V service via a service(8) |
void |
setMetaClass(groovy.lang.MetaClass metaClass)
|
void |
setProperty(String name,
Object value)
|
int |
start()
Start a System V service via a service(8) |
String |
status()
Get a status of a System V service via a service(8) |
int |
stop()
Stop a System V service via a service(8) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Service(String name)
Method Detail |
---|
public int start()
public int stop()
public int restart()
public String status()
public String getName()
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String name, Object args)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String name)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String name, Object value)
setProperty
in interface groovy.lang.GroovyObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |