public class JavaExecGenerator extends BaseGenerator
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaExecGenerator.Config |
protected static class |
JavaExecGenerator.JDK |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
JAVA_OPTIONS |
log| Modifier | Constructor and Description |
|---|---|
|
JavaExecGenerator(GeneratorContext context) |
protected |
JavaExecGenerator(GeneratorContext context,
String name) |
protected |
JavaExecGenerator(GeneratorContext context,
String name,
JavaExecGenerator.JDK jdk) |
| Modifier and Type | Method and Description |
|---|---|
protected List<org.eclipse.jkube.kit.common.AssemblyFileSet> |
addAdditionalFiles() |
protected org.eclipse.jkube.kit.common.AssemblyConfiguration |
createAssembly() |
protected static org.eclipse.jkube.kit.common.AssemblyFileSet |
createFileSet(String sourceDir,
String outputDir,
String fileMode) |
List<org.eclipse.jkube.kit.config.image.ImageConfiguration> |
customize(List<org.eclipse.jkube.kit.config.image.ImageConfiguration> configs,
boolean prePackagePhase) |
FatJarDetector.Result |
detectFatJar() |
protected org.eclipse.jkube.kit.config.image.build.Arguments |
getBuildEntryPoint() |
protected String |
getBuildWorkdir() |
protected String |
getDefaultJolokiaPort() |
protected String |
getDefaultPrometheusPort() |
protected String |
getDefaultWebPort() |
protected Map<String,String> |
getEnv(boolean prePackagePhase)
Hook for adding extra environment vars
|
protected List<String> |
getExtraJavaOptions() |
protected boolean |
hasMainClass() |
protected org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder |
initImageBuildConfiguration(boolean prePackagePhase) |
boolean |
isApplicable(List<org.eclipse.jkube.kit.config.image.ImageConfiguration> configs) |
protected boolean |
isFatJar() |
protected static boolean |
isPortValid(String port) |
addFrom, addLatestTagIfSnapshot, addSchemaLabels, addTagsFromConfig, getAlias, getConfig, getConfig, getConfigWithFallback, getContext, getFromAsConfigured, getImageName, getName, getProject, getRegistry, shouldAddGeneratedImageConfigurationprotected static final String JAVA_OPTIONS
public JavaExecGenerator(GeneratorContext context)
protected JavaExecGenerator(GeneratorContext context, String name)
protected JavaExecGenerator(GeneratorContext context, String name, JavaExecGenerator.JDK jdk)
public boolean isApplicable(List<org.eclipse.jkube.kit.config.image.ImageConfiguration> configs)
public List<org.eclipse.jkube.kit.config.image.ImageConfiguration> customize(List<org.eclipse.jkube.kit.config.image.ImageConfiguration> configs, boolean prePackagePhase)
protected org.eclipse.jkube.kit.config.image.build.BuildConfiguration.BuildConfigurationBuilder initImageBuildConfiguration(boolean prePackagePhase)
protected Map<String,String> getEnv(boolean prePackagePhase)
prePackagePhase - true if running is Maven's pre-package phase.protected org.eclipse.jkube.kit.common.AssemblyConfiguration createAssembly()
protected List<org.eclipse.jkube.kit.common.AssemblyFileSet> addAdditionalFiles()
protected static org.eclipse.jkube.kit.common.AssemblyFileSet createFileSet(String sourceDir, String outputDir, String fileMode)
protected boolean isFatJar()
protected boolean hasMainClass()
public FatJarDetector.Result detectFatJar()
protected String getDefaultWebPort()
protected String getDefaultJolokiaPort()
protected String getDefaultPrometheusPort()
protected static boolean isPortValid(String port)
protected String getBuildWorkdir()
protected org.eclipse.jkube.kit.config.image.build.Arguments getBuildEntryPoint()
Copyright © 2022. All rights reserved.