Class SshSlaveLauncher
java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.po.PageAreaImpl
org.jenkinsci.test.acceptance.po.ComputerLauncher
org.jenkinsci.test.acceptance.plugins.ssh_slaves.SshSlaveLauncher
- All Implemented Interfaces:
- CapybaraPortingLayer,- Control.Owner,- PageArea
- Author:
- Kohsuke Kawaguchi
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImplCapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal Controlfinal Controlfinal Controlfinal Controlfinal Controlfinal Controlfinal Controlfinal ControlFields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpldriver, injector, LABEL_TO_INPUT_XPATH, timeFields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayerby
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionkeyCredentials(String username, String key, String passphrase) Add username/key based credentials to the configurationport(int port) pwdCredentials(String username, String password) Add username/password based credentials to the configurationpwdCredentials(String username, String password, String id) Add username/password and id based credentials to the configurationvoidselectCredentials(String credentialsId) Select the credentials to use by ID.voidsetJavaPath(String jvmPath) voidsetSshHostKeyVerificationStrategy(Class<? extends SshSlaveLauncher.SshHostKeyVerificationStrategy> type) Methods inherited from class org.jenkinsci.test.acceptance.po.PageAreaImplcontrol, control, createPageArea, getPage, getPath, getPath, getPath, path, selfMethods inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImplall, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, elasticSleep, executeScript, fillIn, find, findCaption, findCaption, findIfNotVisible, getCurrentUrl, getCurrentUrlWithFragment, getElement, getPageContent, getPageSource, getPageSource, getPath, handleAlert, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, runThenHandleInputDialog, runThenHandleUserPrompt, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCondMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayerall, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, executeScript, fillIn, find, findIfNotVisible, getElement, getPageSource, last, lastIfNotVisible, runThenConfirmAlert, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
- 
Field Details- 
host
- 
credentialsId
- 
prefixCmd
- 
suffixCmd
- 
timeout
- 
retries
- 
jvmOptions
- 
hostKeyVerificationStrategy
 
- 
- 
Constructor Details- 
SshSlaveLauncher
 
- 
- 
Method Details- 
addCredential
- 
setJavaPath
- 
port
- 
pwdCredentialsAdd username/password based credentials to the configuration- Parameters:
- username- to use
- password- for the username
- Returns:
- the SshSlaveLauncher to be configured
 
- 
pwdCredentialsAdd username/password and id based credentials to the configuration- Parameters:
- username- to use
- password- for the username
- id- for unique identification
- Returns:
- the SshSlaveLauncher to be configured
 
- 
keyCredentialspublic SshSlaveLauncher keyCredentials(String username, String key, @CheckForNull String passphrase) Add username/key based credentials to the configuration- Parameters:
- username- to use
- key- for the private key to use
- Returns:
- the SshSlaveLauncher to be configured
 
- 
selectCredentialsSelect the credentials to use by ID. The credentials need to be created before this method is invoked, e.g. using the@WithCredentialsannotation.- Parameters:
- credentialsId- the ID of the credentials to use
 
- 
setSshHostKeyVerificationStrategypublic void setSshHostKeyVerificationStrategy(Class<? extends SshSlaveLauncher.SshHostKeyVerificationStrategy> type) 
 
-