|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectcom.cloudbees.clickstack.tasks.SetupScriptGenerator
class SetupScriptGenerator
A org.gradle.api.Task for creating OS dependent setup scripts.
Inspired by Gradle Application Plugin.
| Property Summary | |
|---|---|
java.lang.String |
appNameSystemProperty
This system property to use to pass the script name to the application. |
java.lang.String |
applicationName
The display name of the application |
java.lang.Iterable |
classpath
The classpath, relative to the application home directory. |
java.lang.Iterable |
defaultJvmOpts
|
java.lang.String |
exitEnvironmentVar
The environment variable to use to control exit value (windows only) |
java.lang.String |
mainClassName
|
java.lang.String |
optsEnvironmentVar
The environment variable to use to provide additional options to the JVM |
java.lang.String |
scriptRelPath
The path of the script, relative to the application home directory. |
java.lang.String |
unixJavaHome
|
java.lang.String |
windowsJavaHome
|
| Method Summary | |
|---|---|
void
|
generateUnixScript(java.io.File unixScript)
|
java.lang.String
|
generateUnixScriptContent()
|
void
|
generateWindowsScript(java.io.File windowsScript)
|
java.lang.String
|
generateWindowsScriptContent()
|
void
|
writeToFile(java.lang.String scriptContent, java.io.File scriptFile)
|
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Property Detail |
|---|
java.lang.String appNameSystemProperty
java.lang.String applicationName
java.lang.Iterable classpath
java.lang.Iterable defaultJvmOpts
java.lang.String exitEnvironmentVar
java.lang.String mainClassName
java.lang.String optsEnvironmentVar
java.lang.String scriptRelPath
java.lang.String unixJavaHome
java.lang.String windowsJavaHome
| Method Detail |
|---|
void generateUnixScript(java.io.File unixScript)
java.lang.String generateUnixScriptContent()
void generateWindowsScript(java.io.File windowsScript)
java.lang.String generateWindowsScriptContent()
void writeToFile(java.lang.String scriptContent, java.io.File scriptFile)
Groovy Documentation