public abstract class JavaRunGenerator extends BaseGenerator
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaRunGenerator.Config |
log| Constructor and Description |
|---|
JavaRunGenerator(MavenGeneratorContext context,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected io.fabric8.maven.docker.config.AssemblyConfiguration |
createAssembly() |
List<io.fabric8.maven.docker.config.ImageConfiguration> |
customize(List<io.fabric8.maven.docker.config.ImageConfiguration> configs)
Provide additional image configurations
|
protected List<String> |
extractPorts() |
protected String |
getAssemblyRef() |
protected String |
getDefaultAssemblyRef() |
protected Map<String,String> |
getEnv()
Hook for adding extra environment vars
|
protected boolean |
isFatJarWithNoDependencies() |
protected boolean |
shouldAddDefaultImage(List<io.fabric8.maven.docker.config.ImageConfiguration> configs) |
addLatestTagIfSnapshot, getAlias, getConfig, getConfig, getConfig, getContext, getFrom, getImageName, getName, getProject, getProjectPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisApplicablepublic JavaRunGenerator(MavenGeneratorContext context, String name)
public List<io.fabric8.maven.docker.config.ImageConfiguration> customize(List<io.fabric8.maven.docker.config.ImageConfiguration> configs) throws org.apache.maven.plugin.MojoExecutionException
Generatorconfigs - the already detected and resolved configurationorg.apache.maven.plugin.MojoExecutionExceptionprotected Map<String,String> getEnv()
protected io.fabric8.maven.docker.config.AssemblyConfiguration createAssembly()
protected String getAssemblyRef()
protected String getDefaultAssemblyRef()
protected boolean isFatJarWithNoDependencies()
protected boolean shouldAddDefaultImage(List<io.fabric8.maven.docker.config.ImageConfiguration> configs)
shouldAddDefaultImage in class BaseGeneratorCopyright © 2016. All rights reserved.