Class LauncherFactory.Unspecified

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

public static final class LauncherFactory.Unspecified extends LauncherFactory
No slave type specified. This exists only as a field in UI dropdown to be read by stapler and converted to plain old null.
See Also:
  • Method Details

    • 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
    • isWaitingFor

      @CheckForNull public String isWaitingFor(@Nonnull JCloudsSlave slave)
      Description copied from class: LauncherFactory
      Detect the machine is provisioned and can be added to Jenkins for launching. This is guaranteed to be called after server is/was ACTIVE.
      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.