org.codehaus.mojo.jboss
Class StartMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jboss.AbstractJBossServerMojo
          extended by org.codehaus.mojo.jboss.StartMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
StartAndWaitMojo

public class StartMojo
extends AbstractJBossServerMojo

Starts JBoss.

Author:
Jeff Genender

Field Summary
protected  String options
          Deprecated. use startOptions instead
protected  String startOptions
          The set of space separated options to pass to the JBoss "run" command.
static String STARTUP_COMMAND
          The command to start JBoss.
 
Fields inherited from class org.codehaus.mojo.jboss.AbstractJBossServerMojo
jbossHome, serverName
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
StartMojo()
           
 
Method Summary
 void execute()
          Main plugin execution.
 
Methods inherited from class org.codehaus.mojo.jboss.AbstractJBossServerMojo
checkConfig, getPassword, getUsername, launch, launchUnixScript, launchWindowsBatch
 
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

STARTUP_COMMAND

public static final String STARTUP_COMMAND
The command to start JBoss.

See Also:
Constant Field Values

startOptions

protected String startOptions
The set of space separated options to pass to the JBoss "run" command.

Since:
1.5.0

options

protected String options
Deprecated. use startOptions instead
The set of options to pass to the JBoss "run" command.

Constructor Detail

StartMojo

public StartMojo()
Method Detail

execute

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

Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2005-2011 Codehaus. All Rights Reserved.