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) |
addFrom, addLatestTagIfSnapshot, getAlias, getConfig, getConfig, getConfigWithSystemFallbackAndDefault, getContext, getFromAsConfigured, getImageName, getName, getProject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isApplicable
public 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
Generator
configs
- the already detected and resolved configurationorg.apache.maven.plugin.MojoExecutionException
protected 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 BaseGenerator
Copyright © 2017. All rights reserved.