[FIXED HUDSON-3398] Allow JVM arguments to be specified for JNLP slaves.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16860 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-04-06 02:43:27 +00:00
1 parent 9429fff861
commit 4edbb06b25
6 files changed
+45 -7

No files matched your search

@@ -49,13 +49,20 @@ public class JNLPLauncher extends ComputerLauncher {
*/
public final String tunnel;
/**
* Additional JVM arguments. Can be null.
* @since 1.297
*/
public final String vmargs;
@DataBoundConstructor
public JNLPLauncher(String tunnel) {
public JNLPLauncher(String tunnel, String vmargs) {
this.tunnel = Util.fixEmptyAndTrim(tunnel);
this.vmargs = Util.fixEmptyAndTrim(vmargs);
}
public JNLPLauncher() {
this(null);
this(null,null);
}
@Override