@Mojo(name="start",
defaultPhase=PRE_INTEGRATION_TEST)
public class StartMojo
extends AbstractDockerMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
autoCreateCustomNetworks
Whether to create the customs networks (user-defined bridge networks) before starting automatically
|
protected String |
portPropertyFile |
autoPull, CONTEXT_KEY_BUILD_TIMESTAMP, CONTEXT_KEY_LOG_DISPATCHER, CONTEXT_KEY_START_CALLED, DOCKER_BUILD_TIMESTAMP, dockerAccessFactory, execution, imageConfigResolver, imagePullPolicy, keepContainer, log, project, registry, removeVolumes, serviceHubFactory, session, settings, skipExtendedAuth, useColor, verbose| Constructor and Description |
|---|
StartMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeInternal(ServiceHub hub)
Hook for subclass for doing the real job
|
protected Boolean |
followLogs() |
protected boolean |
showLogs(ImageConfiguration imageConfig) |
contextualize, customizeConfig, execute, getBuildTimestamp, getBuildTimestampFile, getDockerAccessContext, getImagePullManager, getLogDispatcher, getLogPrefix, getPomLabel, getReferenceDate, getRegistryConfig, getResolvedImages, getVolumes, isDockerAccessRequired@Parameter(property="docker.autoCreateCustomNetworks",
defaultValue="false")
protected boolean autoCreateCustomNetworks
@Parameter protected String portPropertyFile
public void executeInternal(ServiceHub hub) throws DockerAccessException, ExecException, org.apache.maven.plugin.MojoExecutionException
executeInternal in class AbstractDockerMojohub - context for accessing backendsDockerAccessExceptionExecExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected Boolean followLogs()
protected boolean showLogs(ImageConfiguration imageConfig)
Copyright © 2018. All rights reserved.