org.codehaus.mojo.selenium
Class StopServerMojo

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by org.codehaus.gmaven.mojo.GroovyMojo
          extended by org.codehaus.mojo.selenium.StopServerMojo
All Implemented Interfaces:
groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class StopServerMojo
extends org.codehaus.gmaven.mojo.GroovyMojo
implements groovy.lang.GroovyObject

Stop the Selenium server.

Since:
1.0-beta-2
Version:
$Id: StopServerMojo.groovy 12859 2010-10-13 09:36:15Z olamy $
Author:
Jason Dillon

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
StopServerMojo()
           
 
Method Summary
 void execute()
           
 groovy.lang.MetaClass getMetaClass()
           
 int getPort()
           
 Object getProperty(String name)
           
 boolean getSkip()
           
 Object invokeMethod(String name, Object args)
           
 boolean isSkip()
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setPort(int value)
           
 void setProperty(String name, Object value)
           
 void setSkip(boolean value)
           
 
Methods inherited from class org.codehaus.gmaven.mojo.GroovyMojo
fail, fail, getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopServerMojo

public StopServerMojo()
Method Detail

getPort

public int getPort()

setPort

public void setPort(int value)

getSkip

public boolean getSkip()

isSkip

public boolean isSkip()

setSkip

public void setSkip(boolean value)

execute

public void execute()
Specified by:
execute in interface org.apache.maven.plugin.Mojo

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject
Overrides:
getMetaClass in class groovy.lang.GroovyObjectSupport

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject
Overrides:
setMetaClass in class groovy.lang.GroovyObjectSupport

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject
Overrides:
invokeMethod in class groovy.lang.GroovyObjectSupport

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface groovy.lang.GroovyObject
Overrides:
getProperty in class org.codehaus.gmaven.mojo.GroovyMojo

setProperty

public void setProperty(String name,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject
Overrides:
setProperty in class groovy.lang.GroovyObjectSupport


Copyright © 2006-2010 Codehaus. All Rights Reserved.