Class LauncherFactory.SSH

All Implemented Interfaces:
Describable<LauncherFactory>, Serializable
Enclosing class:
LauncherFactory

public static final class LauncherFactory.SSH extends LauncherFactory
Launch nodes via ssh-slaves plugin.
See Also:
  • Constructor Details

    • SSH

      @DataBoundConstructor public SSH(@Nonnull String credentialsId, String javaPath)
    • SSH

      public SSH(@Nonnull String credentialsId)
  • Method Details

    • getCredentialsId

      @Nonnull public String getCredentialsId()
    • getJavaPath

      @CheckForNull public String getJavaPath()
    • createLauncher

      public ComputerLauncher createLauncher(@Nonnull JCloudsSlave slave)
      Description copied from class: LauncherFactory
      Create launcher to be used to start the computer.
      Specified by:
      createLauncher in class LauncherFactory
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isWaitingFor

      @CheckForNull public String isWaitingFor(@Nonnull JCloudsSlave slave)
      The node is considered ready when ssh port is open.
      Specified by:
      isWaitingFor in class LauncherFactory
      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.