@Extension
public class SSHD
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
SSHD() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
static SSHD |
get() |
int |
getActualPort()
Gets the current TCP/IP port that this daemon is running with.
|
int |
getPort()
Returns the configured port to run SSHD.
|
static void |
init() |
void |
restart() |
void |
setPort(int port) |
void |
start() |
void |
stop() |
all, getDescriptor, getDisplayName, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic int getPort()
public int getActualPort()
public void setPort(int port)
public void start()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void restart()
public void stop()
throws InterruptedException
InterruptedExceptionpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic static SSHD get()
@Initializer(after=JOB_LOADED,
fatal=false)
public static void init()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2004-2012. All Rights Reserved.