Class LauncherFactory.SSH
java.lang.Object
hudson.model.AbstractDescribableImpl<LauncherFactory>
jenkins.plugins.openstack.compute.slaveopts.LauncherFactory
jenkins.plugins.openstack.compute.slaveopts.LauncherFactory.SSH
- All Implemented Interfaces:
Describable<LauncherFactory>
,Serializable
- Enclosing class:
- LauncherFactory
Launch nodes via ssh-slaves plugin.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jenkins.plugins.openstack.compute.slaveopts.LauncherFactory
LauncherFactory.JNLP, LauncherFactory.SSH, LauncherFactory.Unspecified
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateLauncher
(JCloudsSlave slave) Create launcher to be used to start the computer.boolean
int
hashCode()
isWaitingFor
(JCloudsSlave slave) The node is considered ready when ssh port is open.toString()
Methods inherited from class jenkins.plugins.openstack.compute.slaveopts.LauncherFactory
onNodeTerminated
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SSH
-
SSH
-
-
Method Details
-
getCredentialsId
-
getJavaPath
-
createLauncher
Description copied from class:LauncherFactory
Create launcher to be used to start the computer.- Specified by:
createLauncher
in classLauncherFactory
-
equals
-
hashCode
public int hashCode() -
toString
-
isWaitingFor
The node is considered ready when ssh port is open.- Specified by:
isWaitingFor
in classLauncherFactory
- Parameters:
slave
- Slave we are waiting to be ready.- Returns:
- null if it is ready or string cause if it is not. The cause will be reported alongside the timeout exception if this will not become ready in time.
-