|
JBoss AS7 Deployment Plugin 7.9.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.jboss.as.plugin.common.AbstractServerMojo
public abstract class AbstractServerMojo
The default implementation for connecting to a running AS7 instance
Field Summary | |
---|---|
static String |
DEBUG_MESSAGE_NO_CREDS
|
static String |
DEBUG_MESSAGE_NO_ID
|
static String |
DEBUG_MESSAGE_NO_SERVER_SECTION
|
static String |
DEBUG_MESSAGE_NO_SETTINGS_FILE
|
static String |
DEBUG_MESSAGE_POM_HAS_CREDS
|
static String |
DEBUG_MESSAGE_SETTINGS_HAS_CREDS
|
static String |
DEBUG_MESSAGE_SETTINGS_HAS_ID
|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractServerMojo()
|
Method Summary | |
---|---|
void |
close()
|
CallbackHandler |
getCallbackHandler()
The callback handler for authentication. |
org.jboss.as.controller.client.ModelControllerClient |
getClient()
Gets or creates a new connection to the server and returns the client. |
InetAddress |
getHostAddress()
Creates gets the address to the host name. |
int |
getPort()
The port number of the server to deploy to. |
abstract String |
goal()
The goal of the deployment. |
String |
hostname()
The hostname to deploy the archive to. |
boolean |
isDomainServer()
Returns true if the connection is for a domain server, otherwise false . |
protected boolean |
isSkip()
Indicates whether or not the goal should be skipped. |
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 |
Methods inherited from interface org.apache.maven.plugin.Mojo |
---|
execute |
Field Detail |
---|
public static final String DEBUG_MESSAGE_NO_CREDS
public static final String DEBUG_MESSAGE_NO_ID
public static final String DEBUG_MESSAGE_NO_SERVER_SECTION
public static final String DEBUG_MESSAGE_NO_SETTINGS_FILE
public static final String DEBUG_MESSAGE_POM_HAS_CREDS
public static final String DEBUG_MESSAGE_SETTINGS_HAS_CREDS
public static final String DEBUG_MESSAGE_SETTINGS_HAS_ID
Constructor Detail |
---|
public AbstractServerMojo()
Method Detail |
---|
public final String hostname()
public final int getPort()
getPort
in interface ConnectionInfo
public final boolean isDomainServer()
true
if the connection is for a domain server, otherwise false
.
true
if the connection is for a domain server, otherwise false
public abstract String goal()
public final org.jboss.as.controller.client.ModelControllerClient getClient()
DomainClient
will be returned.
public final void close()
close
in interface Closeable
public final InetAddress getHostAddress()
getHostAddress
in interface ConnectionInfo
public final CallbackHandler getCallbackHandler()
ConnectionInfo
getCallbackHandler
in interface ConnectionInfo
protected boolean isSkip()
true
to skip the goal, otherwise false
|
JBoss AS7 Deployment Plugin 7.9.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |