@Mojo(name="down",
threadSafe=true)
public class DockerComposeCommandDownMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
containerName
The name of the container for which the docker-compose is run
|
protected boolean |
detachedMode
If true, then for docker-compose command will be add -d flag
|
| Constructor and Description |
|---|
DockerComposeCommandDownMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
getApplicationName() |
String |
getContainerName() |
String |
getDockerComposeFile() |
String |
getProjectDir() |
boolean |
isDetachedMode() |
boolean |
isSkip() |
boolean |
isVerbose() |
@Parameter(defaultValue="false") protected boolean detachedMode
@Parameter protected String containerName
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic boolean isDetachedMode()
public String getDockerComposeFile()
public boolean isVerbose()
public boolean isSkip()
public String getApplicationName()
public String getProjectDir()
public String getContainerName()
Copyright © 2018. All Rights Reserved.