org.codehaus.mojo.was6
Class AbstractAppMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.was6.AbstractWas6Mojo
          extended by org.codehaus.mojo.was6.AbstractAppMojo
All Implemented Interfaces:
ContextEnabled, Mojo
Direct Known Subclasses:
WsInstallAppMojo, WsStartAppMojo, WsStopAppMojo, WsUninstallAppMojo

public abstract class AbstractAppMojo
extends AbstractWas6Mojo

Abstract base class for working with application tasks.

Author:
David J. M. Karlsen

Field Summary
protected  String applicationName
          The name of the application that you wish to administer.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractAppMojo()
           
 
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
 

Field Detail

applicationName

protected String applicationName
The name of the application that you wish to administer.

Is defined by:
expression:
${was6.applicationName}
default-value:
${project.build.finalName}
Is required.
Constructor Detail

AbstractAppMojo

public AbstractAppMojo()
Method Detail

configureBuildScript

protected void configureBuildScript(org.dom4j.Document document)
                             throws MojoExecutionException
Description copied from class: AbstractWas6Mojo
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.