public abstract class JavaCmdBuilderBase<B extends CmdBuilderBase<B>> extends CmdBuilderBase<B>
| Constructor and Description |
|---|
JavaCmdBuilderBase() |
| Modifier and Type | Method and Description |
|---|---|
B |
addJavaOption(String option) |
B |
addModule(String moduleName)
Add Java 9 modules.
|
B |
bootClassPathAppend(String... bootClassPathAdditions) |
B |
bootClassPathPrepend(String... bootClassPathAdditions) |
B |
bootClassPathReplace(String... bootClassPathEntries) |
protected List<String> |
getJavaCommandParts() |
B |
javaExecutable(String javaExecutable) |
B |
javaExecutableFromRuntime() |
B |
maxPermSize(String value) |
B |
modulePath(String... modulePathEntries)
Add Java 9 module path entries.
|
B |
systemProperty(String name) |
B |
systemProperty(String name,
String value) |
CmdSettings |
toCmdSettings() |
B |
upgradeModulePath(String... upgradeModulePathEntries)
Add Java 9 upgrade module path entries.
|
B |
xms(String value)
Specifies the initial size, in bytes, of the memory allocation pool.
|
B |
xmx(String value)
Specifies the maximum size, in bytes, of the memory allocation pool.
|
B |
xss(String value)
Sets the thread stack size (in bytes).
|
arg, args, destroyForcibly, destroyOnError, destroyOnShutdown, directory, directory, environment, executorSupplier, getBuilder, inheritEnvironment, ping, redirectErrorStream, stderr, stderr, stderr, stdin, stdout, stdout, stdout, timeout, timeout, toCmd, withoutEnvironmentpublic B javaExecutableFromRuntime()
public B xmx(String value)
Examples:
"83886080""81920k""80m"value - The Xmx value as described above.public B xms(String value)
Examples:
"6291456""6144k""6m"value - The Xms value as described above.public B xss(String value)
Examples:
"1m""1024k""1048576"value - The Xss value as described above.public B modulePath(String... modulePathEntries)
--module-path... A : separated list of directories, each directory is a directory of modules.
public B upgradeModulePath(String... upgradeModulePathEntries)
--upgrade-module-path... A : separated list of directories, each directory is a directory of modules that replace upgradeable modules in the runtime image
public B addModule(String moduleName)
--add-modules[, ...] root modules to resolve in addition to the initial module. can also be ALL-DEFAULT, ALL-SYSTEM, ALL-MODULE-PATH.
public CmdSettings toCmdSettings()
toCmdSettings in class CmdBuilderBase<B extends CmdBuilderBase<B>>Copyright © 2013–2019 mklinger GmbH. All rights reserved.