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 ClassesNested classes/interfaces inherited from class jenkins.plugins.openstack.compute.slaveopts.LauncherFactory
LauncherFactory.JNLP, LauncherFactory.SSH, LauncherFactory.Unspecified -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLauncher(JCloudsSlave slave) Create launcher to be used to start the computer.booleaninthashCode()isWaitingFor(JCloudsSlave slave) The node is considered ready when ssh port is open.toString()Methods inherited from class jenkins.plugins.openstack.compute.slaveopts.LauncherFactory
onNodeTerminatedMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SSH
-
SSH
-
-
Method Details
-
getCredentialsId
-
getJavaPath
-
createLauncher
Description copied from class:LauncherFactoryCreate launcher to be used to start the computer.- Specified by:
createLauncherin classLauncherFactory
-
equals
-
hashCode
public int hashCode() -
toString
-
isWaitingFor
The node is considered ready when ssh port is open.- Specified by:
isWaitingForin 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.
-