public abstract class AbstractDeployer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Deployment |
deploymentConfiguration |
protected DeployerLog |
log |
| Constructor and Description |
|---|
AbstractDeployer(Deployment deploymentConfiguration,
DeployerLog log) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
deploy()
Deploys the application.
|
protected void |
error(String message)
Logs an error message in the plugin.
|
File |
getApplicationFile() |
String |
getApplicationName() |
protected void |
info(String message)
Logs an info message in the plugin.
|
protected abstract void |
initialize() |
abstract void |
resolveDependencies(org.apache.maven.project.MavenProject mavenProject,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
org.apache.maven.artifact.repository.ArtifactRepository localRepository) |
abstract void |
undeploy(org.apache.maven.project.MavenProject mavenProject)
Undeploys the application.
|
protected final Deployment deploymentConfiguration
protected final DeployerLog log
public AbstractDeployer(Deployment deploymentConfiguration, DeployerLog log) throws DeploymentException
DeploymentExceptionpublic abstract void deploy()
throws DeploymentException
DeploymentExceptionpublic abstract void undeploy(org.apache.maven.project.MavenProject mavenProject)
throws DeploymentException
DeploymentExceptionprotected void info(String message)
message - The message to log.protected void error(String message)
message - The message to log.public String getApplicationName()
public File getApplicationFile()
protected abstract void initialize()
throws DeploymentException
DeploymentExceptionpublic abstract void resolveDependencies(org.apache.maven.project.MavenProject mavenProject,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
throws DeploymentException,
groovy.util.ScriptException
DeploymentExceptiongroovy.util.ScriptExceptionCopyright © 2020. All rights reserved.