# JavaAppStartScriptGenerationDetails

interface JavaAppStartScriptGenerationDetails(source)

Details for generating Java-based application start scripts.

#### Since

2.4

## Functions

getApplicationName
Link copied to clipboard
abstract fun getApplicationName(): String
The display name of the application
getAppNameSystemProperty
Link copied to clipboard
@Nullable
abstract fun getAppNameSystemProperty(): @Nullable String
This system property to use to pass the script name to the application.
getClasspath
Link copied to clipboard
abstract fun getClasspath(): List<String>
The classpath, relative to the application home directory.
getDefaultJvmOpts
Link copied to clipboard
abstract fun getDefaultJvmOpts(): List<String>
The default JVM options that are always passed to the application.
getExitEnvironmentVar
Link copied to clipboard
abstract fun getExitEnvironmentVar(): String
The environment variable to use to control exit value (windows only)
getGitRef
Link copied to clipboard
@Incubating
abstract fun getGitRef(): String
The Git revision or tag
getMainClassName
Link copied to clipboard
abstract fun getMainClassName(): String
Returns the main class name.
getModulePath
Link copied to clipboard
abstract fun getModulePath(): List<String>
The module path, relative to the application home directory.
getOptsEnvironmentVar
Link copied to clipboard
abstract fun getOptsEnvironmentVar(): String
The environment variable to use to provide additional options to the JVM
getScriptRelPath
Link copied to clipboard
abstract fun getScriptRelPath(): String
The path of the script, relative to the application home directory.