Package hudson.slaves

Class AbstractCloudComputer<T extends AbstractCloudSlave>

All Implemented Interfaces:
ExtensionPoint, DescriptorByNameOwner, ExecutorListener, ModelObject, SearchableModelObject, SearchItem, AccessControlled, IComputer, ModelObjectWithContextMenu, HasWidgets, IconSpec, org.kohsuke.stapler.StaplerProxy

public class AbstractCloudComputer<T extends AbstractCloudSlave> extends SlaveComputer
Partial implementation of Computer to be used in conjunction with AbstractCloudSlave.
Since:
1.382
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • AbstractCloudComputer

      public AbstractCloudComputer(T slave)
  • Method Details

    • getNode

      @CheckForNull public T getNode()
      Description copied from class: Computer
      Returns the Node that this computer represents.
      Overrides:
      getNode in class SlaveComputer
      Returns:
      null if the configuration has changed and the node is removed, yet the corresponding Computer is not yet gone.
    • doDoDelete

      public org.kohsuke.stapler.HttpResponse doDoDelete() throws IOException
      When the agent is deleted, free the node right away.
      Overrides:
      doDoDelete in class Computer
      Throws:
      IOException