| Modifier and Type | Field and Description |
|---|---|
private static String |
DEFAULT_DOCKER_HOST |
private String |
dockerHost
URL of the docker host.
|
protected org.apache.maven.plugin.MojoExecution |
execution |
protected org.apache.maven.execution.MavenSession |
session |
| Constructor and Description |
|---|
AbstractDockerMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected com.spotify.docker.client.DockerClient |
dockerClient() |
protected String |
dockerHost() |
void |
execute() |
protected abstract void |
execute(com.spotify.docker.client.DockerClient dockerClient) |
private String |
normalize(String raw) |
protected String |
rawDockerHost() |
private static final String DEFAULT_DOCKER_HOST
@Component(role=org.apache.maven.execution.MavenSession.class) protected org.apache.maven.execution.MavenSession session
@Component(role=org.apache.maven.plugin.MojoExecution.class) protected org.apache.maven.plugin.MojoExecution execution
@Parameter(property="dockerHost") private String dockerHost
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected abstract void execute(com.spotify.docker.client.DockerClient dockerClient)
throws Exception
Exceptionprotected com.spotify.docker.client.DockerClient dockerClient()
protected String dockerHost()
protected String rawDockerHost()
Copyright © 2014. All rights reserved.