org.codehaus.mojo.jboss
Class AbstractJBossDeployerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jboss.AbstractJBossDeployerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
DeployMojo, ReDeployMojo, UndeployMojo

public abstract class AbstractJBossDeployerMojo
extends org.apache.maven.plugin.AbstractMojo

Provides basic functionality for deploying an application over HTTP.


Field Summary
protected  List fileNames
          The name of the file or directory to deploy or undeploy.
protected  String hostName
          The host JBoss is running on.
protected  int port
          The port JBoss is running on.
protected  boolean skip
          Skip the mojo execution.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractJBossDeployerMojo()
           
 
Method Summary
protected abstract  void doExecute()
          Mojo specific execution implemented by subclasses
protected  void doURL(String url)
          Open a URL.
 void execute()
          Main common deploy mojo execution
 
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

port

protected int port
The port JBoss is running on.

Is defined by:
expression:
${jboss.port}
default-value:
8080

hostName

protected String hostName
The host JBoss is running on.

Is defined by:
expression:
${jboss.hostName}
default-value:
localhost

fileNames

protected List fileNames
The name of the file or directory to deploy or undeploy.

Is defined by:

skip

protected boolean skip
Skip the mojo execution.

Since:
1.5.0
Is defined by:
expression:
${jboss.skip}
default-value:
false
Constructor Detail

AbstractJBossDeployerMojo

public AbstractJBossDeployerMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Main common deploy mojo execution

Throws:
org.apache.maven.plugin.MojoExecutionException

doExecute

protected abstract void doExecute()
                           throws org.apache.maven.plugin.MojoExecutionException
Mojo specific execution implemented by subclasses

Throws:
org.apache.maven.plugin.MojoExecutionException

doURL

protected void doURL(String url)
              throws org.apache.maven.plugin.MojoExecutionException
Open a URL.

Parameters:
url -
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2005-2012 Codehaus. All Rights Reserved.