@Mojo(name="watch") public class WatchMojo extends AbstractBuildSupportMojo
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
autoCreateCustomNetworks
Whether to create the customs networks (user-defined bridge networks) before starting automatically
|
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 |
|---|
WatchMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeInternal(ServiceHub hub)
Hook for subclass for doing the real job
|
protected WatchService.WatchContext |
getWatchContext(ServiceHub hub) |
createMojoParameters, getBuildContextcontextualize, customizeConfig, execute, getBuildTimestamp, getBuildTimestampFile, getDockerAccessContext, getGavLabel, getImagePullManager, getLogDispatcher, getLogPrefix, getReferenceDate, getRegistryConfig, getResolvedImages, getVolumes, isDockerAccessRequired@Parameter(property="docker.autoCreateCustomNetworks",
defaultValue="false")
protected boolean autoCreateCustomNetworks
protected void executeInternal(ServiceHub hub) throws IOException, org.apache.maven.plugin.MojoExecutionException
AbstractDockerMojoexecuteInternal in class AbstractDockerMojohub - context for accessing backendsIOExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected WatchService.WatchContext getWatchContext(ServiceHub hub) throws IOException
IOExceptionCopyright © 2019. All rights reserved.