public class OneShotStartupCheckStrategy extends StartupCheckStrategy
StartupCheckStrategy intended for use with containers that only run briefly and
exit of their own accord. As such, success is deemed to be when the container has stopped with exit code 0.StartupCheckStrategy.StartupStatus| Constructor and Description |
|---|
OneShotStartupCheckStrategy() |
| Modifier and Type | Method and Description |
|---|---|
StartupCheckStrategy.StartupStatus |
checkStartupState(com.github.dockerjava.api.DockerClient dockerClient,
java.lang.String containerId) |
getCurrentState, waitUntilStartupSuccessful, waitUntilStartupSuccessful, withTimeoutpublic StartupCheckStrategy.StartupStatus checkStartupState(com.github.dockerjava.api.DockerClient dockerClient, java.lang.String containerId)
checkStartupState in class StartupCheckStrategy