public class JnlpLaunchConfiguration extends LaunchConfiguration
LaunchConfiguration for JNLPLauncher.| Constructor and Description |
|---|
JnlpLaunchConfiguration(URL jnlpUrl,
File storage) |
| Modifier and Type | Method and Description |
|---|---|
hudson.util.ArgumentListBuilder |
buildRunnerArguments()
Decides the arguments to the jar file to be started by the service wrapper.
|
File |
getJarFile()
Decides the jar file to be launched from the service wrapper.
|
File |
getStorage()
To install a slave on a system, sometimes the installer needs to place some files (including
configuration files, binaries, etc.)
|
public File getStorage() throws IOException
LaunchConfigurationSometimes, the platform has directories designed for services by convention (such as /System/Library/LaunchDaemon for launchd or /etc/default/jenkins-slave on Linux), but in other OSes there's no such conventional location (for example on Windows.)
Because of this, the caller will provide a directory that allows installer to place some files. The installer is encourage to use platform dependent conventional locations over this storage area. Typically, this is the remote file system root of the slave.
getStorage in class LaunchConfigurationIOExceptionpublic File getJarFile() throws IOException
LaunchConfigurationgetJarFile in class LaunchConfigurationIOExceptionpublic hudson.util.ArgumentListBuilder buildRunnerArguments()
LaunchConfigurationbuildRunnerArguments in class LaunchConfigurationCopyright © 2004-2012. All Rights Reserved.