org.codehaus.mojo.was6
Class WsStopServerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.was6.AbstractWas6Mojo
org.codehaus.mojo.was6.AbstractServerMojo
org.codehaus.mojo.was6.WsStopServerMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class WsStopServerMojo
- extends AbstractServerMojo
This goal enables you to stop a standalone server instance. This is not used to stop a server controlled by
DeploymentManager. Therefore, this task is useful for the Base Application Server, and to stop the Node Agent and/or
DeploymentManager. If you wish to stop a server managed by the Deployment Manager, use the wsadmin task to execute a
scripting command.
- Author:
- David J. M. Karlsen
- Is defined by the goal name:
- wsStopServer
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected void |
configureBuildScript(org.dom4j.Document document)
Method to be implemented by subclasses for configuring their task. |
protected String |
getTaskName()
Defines the task name in the build script. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsStopServerMojo
public WsStopServerMojo()
getTaskName
protected String getTaskName()
- Defines the task name in the build script.
- Specified by:
getTaskName
in class AbstractWas6Mojo
- Returns:
- name of the task
configureBuildScript
protected void configureBuildScript(org.dom4j.Document document)
throws MojoExecutionException
- Method to be implemented by subclasses for configuring their task.
- Overrides:
configureBuildScript
in class AbstractServerMojo
- Parameters:
document
- the build document.
- Throws:
MojoExecutionException
- if any failure occurs.
Copyright © 2007-2012 Codehaus. All Rights Reserved.