Package io.fabric8.maven.docker.service
Class WatchService
- java.lang.Object
-
- io.fabric8.maven.docker.service.WatchService
-
public class WatchService extends Object
Watch service for monitoring changes and restarting containers
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classWatchService.ImageWatcherstatic classWatchService.WatchContextContext class to hold the watch configuration
-
Constructor Summary
Constructors Constructor Description WatchService(ArchiveService archiveService, BuildService buildService, DockerAccess dockerAccess, MojoExecutionService mojoExecutionService, QueryService queryService, RunService runService, Logger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwatch(WatchService.WatchContext context, BuildService.BuildContext buildContext, List<ImageConfiguration> images)
-
-
-
Constructor Detail
-
WatchService
public WatchService(ArchiveService archiveService, BuildService buildService, DockerAccess dockerAccess, MojoExecutionService mojoExecutionService, QueryService queryService, RunService runService, Logger log)
-
-
Method Detail
-
watch
public void watch(WatchService.WatchContext context, BuildService.BuildContext buildContext, List<ImageConfiguration> images) throws DockerAccessException, org.apache.maven.plugin.MojoExecutionException
- Throws:
DockerAccessExceptionorg.apache.maven.plugin.MojoExecutionException
-
-