|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.xebialabs.deployit.maven.AbstractDeployitMojo
public abstract class AbstractDeployitMojo
Provides common code for deployit mojos
| Field Summary | |
|---|---|
protected boolean |
cancelTaskOnError
When a task falls in error, it is cancelled. |
protected boolean |
deletePreviouslyDeployedDar
Delete the previous deployed dar. |
protected List<MavenDeployable> |
deployables
List of the deployables, including artifacts or middleware resource specification (eg Datasource) |
protected List<MavenDeployed> |
deployeds
List of the deployeds: extensions or complete if you use explicitDeployeds options |
protected com.xebialabs.deployit.client.DeployitCli |
deployitClient
|
protected List<MavenContainer> |
environment
List of container in the target environment, if you want to create the environment through the Maven plugin. |
protected boolean |
explicitDeployeds
With explicitDeployeds true, the deployed are not generated but fully loaded from the pluging configuration. |
protected boolean |
failIfNoStepsAreGenerated
If a deployments leads no steps, fail the build. |
protected boolean |
generateDeployedOnUpgrade
Flag controlling whether, during the upgrade operation, the Deployed objects should generated (like an initial deployment) or reused. |
protected String |
mainArtifactName
|
protected String |
orchestrator
Set the orchestrator used during the deployment. |
protected org.apache.maven.project.MavenProject |
project
The maven project. |
protected boolean |
secured
If true the communication with the deployit server is secured (https). |
protected boolean |
skipMode
Activate the skip mode: generate the plan, skip all the steps, validate the task |
protected boolean |
testMode
Activate the test mode, generate the plan, display all the steps, validate the task |
protected boolean |
timestampedVersion
Use this attribute to add a timestamp to the version of the deployit package. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractDeployitMojo()
|
|
| Method Summary | |
|---|---|
protected void |
deploy()
|
protected com.xebialabs.deployit.core.api.dto.RepositoryObject |
fetchEnvironment()
|
protected com.xebialabs.deployit.client.DeployitCli |
getClient()
|
String |
getPassword()
|
String |
getUsername()
|
protected com.xebialabs.deployit.core.api.dto.RepositoryObject |
importDar()
|
protected void |
undeploy()
|
| 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 |
|---|
protected org.apache.maven.project.MavenProject project
protected String mainArtifactName
protected boolean skipMode
protected String orchestrator
protected boolean testMode
protected boolean failIfNoStepsAreGenerated
protected boolean secured
protected List<MavenDeployed> deployeds
protected List<MavenDeployable> deployables
protected List<MavenContainer> environment
protected boolean timestampedVersion
protected boolean deletePreviouslyDeployedDar
protected boolean generateDeployedOnUpgrade
protected boolean cancelTaskOnError
protected boolean explicitDeployeds
protected com.xebialabs.deployit.client.DeployitCli deployitClient
| Constructor Detail |
|---|
public AbstractDeployitMojo()
| Method Detail |
|---|
protected com.xebialabs.deployit.client.DeployitCli getClient()
protected void deploy()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected com.xebialabs.deployit.core.api.dto.RepositoryObject importDar()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected void undeploy()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected com.xebialabs.deployit.core.api.dto.RepositoryObject fetchEnvironment()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic String getUsername()
public String getPassword()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||