org.codehaus.mojo.was6
Class AbstractServerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.was6.AbstractWas6Mojo
          extended by org.codehaus.mojo.was6.AbstractServerMojo
All Implemented Interfaces:
ContextEnabled, Mojo
Direct Known Subclasses:
WsStartServerMojo, WsStopServerMojo

public abstract class AbstractServerMojo
extends AbstractWas6Mojo

Abstract base class for controlling servers.

Author:
David J. M. Karlsen

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractServerMojo()
           
 
Method Summary
protected  void configureBuildScript(org.dom4j.Document document)
          Method to be implemented by subclasses for configuring their task.
 
Methods inherited from class org.codehaus.mojo.was6.AbstractWas6Mojo
configureTaskAttribute, execute, getMavenProject, getSettings, getTaskElement, getTaskName, getWasHome, getWorkingDirectory, getWsAntExecutable, isVerbose
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractServerMojo

public AbstractServerMojo()
Method Detail

configureBuildScript

protected void configureBuildScript(org.dom4j.Document document)
                             throws MojoExecutionException
Method to be implemented by subclasses for configuring their task.

Specified by:
configureBuildScript in class AbstractWas6Mojo
Parameters:
document - the build document.
Throws:
MojoExecutionException - if any failure occurs.


Copyright © 2007-2012 Codehaus. All Rights Reserved.