Class LauncherFactory.JNLP

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

public static final class LauncherFactory.JNLP extends LauncherFactory
Wait for JNLP connection to be made.
See Also:
  • Field Details

  • Constructor Details

    • JNLP

      @DataBoundConstructor public JNLP()
  • Method Details

    • createLauncher

      public ComputerLauncher createLauncher(@Nonnull JCloudsSlave slave) throws IOException
      Description copied from class: LauncherFactory
      Create launcher to be used to start the computer.
      Specified by:
      createLauncher in class LauncherFactory
      Throws:
      IOException
    • 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.
    • onNodeTerminated

      public void onNodeTerminated()
      Description copied from class: LauncherFactory
      Callback run when the node is being terminated. This is before the resources are removed.
      Overrides:
      onNodeTerminated in class LauncherFactory
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object