@Mojo(name="undeploy",
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class Undeploy
extends AbstractServerConnection
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.project.MavenProject |
project |
CLIENT_LOCK, DEBUG_MESSAGE_NO_CREDS, DEBUG_MESSAGE_NO_ID, DEBUG_MESSAGE_NO_SERVER_SECTION, DEBUG_MESSAGE_NO_SETTINGS_FILE, DEBUG_MESSAGE_POM_HAS_CREDS, DEBUG_MESSAGE_SETTINGS_HAS_CREDS, DEBUG_MESSAGE_SETTINGS_HAS_ID| Constructor and Description |
|---|
Undeploy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Executes additional processing.
|
void |
execute() |
protected Deployment.Status |
executeDeployment(org.jboss.as.controller.client.ModelControllerClient client,
Deployment deployment) |
protected File |
file()
The archive file.
|
protected org.jboss.as.plugin.deployment.PackageType |
getPackageType() |
Deployment.Type |
getType()
The type of the deployment.
|
String |
goal()
The goal of the deployment.
|
protected void |
validate()
Validates the deployment.
|
close, getCallbackHandler, getClient, getHostAddress, getPort, hostname, isDomainServer@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
public String goal()
public Deployment.Type getType()
protected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionexecute()protected File file()
protected final org.jboss.as.plugin.deployment.PackageType getPackageType()
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected final Deployment.Status executeDeployment(org.jboss.as.controller.client.ModelControllerClient client, Deployment deployment) throws DeploymentExecutionException, DeploymentFailureException, IOException
protected void validate()
throws DeploymentFailureException
DeploymentFailureException - if the deployment is invalid.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.