@Mojo(name="stop",
threadSafe=true)
public class DockerComposeCommandStopMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
detachedMode
If true, then for docker-compose command will be add -d flag
|
protected String |
serviceName
The name of the service for which the docker-compose is run
|
| Constructor and Description |
|---|
DockerComposeCommandStopMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
getApplicationName() |
String[] |
getDockerComposeFiles() |
String |
getProjectDir() |
String |
getServiceName() |
boolean |
isDetachedMode() |
boolean |
isSkip() |
boolean |
isVerbose() |
@Parameter(defaultValue="false") protected boolean detachedMode
@Parameter protected String serviceName
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[] getDockerComposeFiles()
public boolean isVerbose()
public boolean isSkip()
public String getApplicationName()
public String getProjectDir()
public String getServiceName()
Copyright © 2018. All Rights Reserved.