public abstract class AbstractServerConnection
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
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 |
protected int |
timeout
The timeout, in seconds, to wait for a management connection.
|
| Constructor and Description |
|---|
AbstractServerConnection() |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.as.controller.client.ModelControllerClient |
createClient()
Creates a new client.
|
protected org.jboss.as.controller.client.ModelControllerClientConfiguration |
getClientConfiguration()
Gets a client configuration used to create a new
ModelControllerClient. |
abstract String |
goal()
The goal of the deployment.
|
getLog, getPluginContext, setLog, setPluginContextpublic 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
@Parameter(property="wildfly.timeout",
defaultValue="60")
protected int timeout
public abstract String goal()
protected org.jboss.as.controller.client.ModelControllerClient createClient()
protected org.jboss.as.controller.client.ModelControllerClientConfiguration getClientConfiguration()
ModelControllerClient.Copyright © 2016 JBoss by Red Hat. All rights reserved.