| Modifier and Type | Field and Description |
|---|---|
protected PrefixedLogger |
log |
| Constructor and Description |
|---|
BaseGenerator(MavenGeneratorContext context,
String name) |
BaseGenerator(MavenGeneratorContext context,
String name,
FromSelector fromSelector) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLatestTagIfSnapshot(io.fabric8.maven.docker.config.BuildImageConfiguration.Builder buildBuilder) |
protected boolean |
containsBuildConfiguration(List<io.fabric8.maven.docker.config.ImageConfiguration> configs) |
GeneratorConfig |
getConfig() |
protected String |
getConfig(Configs.Key key) |
protected String |
getConfig(Configs.Key key,
String defaultVal) |
MavenGeneratorContext |
getContext() |
protected String |
getFrom()
Get base image either from configuration or from a given selector
|
String |
getName() |
protected org.apache.maven.project.MavenProject |
getProject() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomize, isApplicableprotected final PrefixedLogger log
public BaseGenerator(MavenGeneratorContext context, String name)
public BaseGenerator(MavenGeneratorContext context, String name, FromSelector fromSelector)
protected org.apache.maven.project.MavenProject getProject()
public MavenGeneratorContext getContext()
public GeneratorConfig getConfig()
protected String getConfig(Configs.Key key)
protected String getConfig(Configs.Key key, String defaultVal)
protected String getFrom()
null when none could be detected.protected void addLatestTagIfSnapshot(io.fabric8.maven.docker.config.BuildImageConfiguration.Builder buildBuilder)
protected boolean containsBuildConfiguration(List<io.fabric8.maven.docker.config.ImageConfiguration> configs)
Copyright © 2016. All rights reserved.