public abstract class AbstractPreVerifyDockerMojo extends AbstractDockerMojo
DockerExceptions must be caught, suppressed but retained to be rethrown
during verification.| Constructor and Description |
|---|
AbstractPreVerifyDockerMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getMojoGoalName()
For diagnostic purposes.
|
protected void |
handleDockerException(String message,
DockerException e)
Common method for re-throwing a
DockerException as a MojoFailureException with a more specific
error message. |
attachTag, cleanUpStartedContainers, doExecute, enqueueForPushing, enqueueForPushing, enqueueForPushing, enqueueForPushingToRegistry, execute, getBuiltImageForStartId, getBuiltImages, getCredentials, getDockerProvider, getImagesToPush, getInfoForContainerStartId, getPluginErrors, getStartedContainers, registerBuiltImage, registerPluginError, registerStartedContainer, setProviderName, setSkipprotected void handleDockerException(String message, DockerException e)
AbstractDockerMojoDockerException as a MojoFailureException with a more specific
error message. Extract into a common, template method in this base class to allow pre "verify" Mojos to handle
errors differently.handleDockerException in class AbstractDockerMojomessage - The message for the exceptione - The Docker Exceptionprotected abstract String getMojoGoalName()
Copyright © 2016. All Rights Reserved.