public abstract class LaunchConfiguration extends Object
| Constructor and Description |
|---|
LaunchConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
abstract hudson.util.ArgumentListBuilder |
buildRunnerArguments()
Decides the arguments to the jar file to be started by the service wrapper.
|
abstract File |
getJarFile()
Decides the jar file to be launched from the service wrapper.
|
abstract File |
getStorage()
To install a slave on a system, sometimes the installer needs to place some files (including
configuration files, binaries, etc.)
|
public abstract File getStorage() throws IOException
Sometimes, 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.
IOExceptionpublic abstract File getJarFile() throws IOException
IOExceptionpublic abstract hudson.util.ArgumentListBuilder buildRunnerArguments()
Copyright © 2004-2014. All Rights Reserved.