Class DigitalOceanComputer

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

public class DigitalOceanComputer extends AbstractCloudComputer<Slave> implements org.jenkinsci.plugins.cloudstats.TrackedItem
A Computer implementation for DigitalOcean. Holds a handle to an Slave.

Mainly responsible for updating the Droplet information via updateInstanceDescription()

Author:
robert.gruendler@dubture.com
  • Constructor Details

    • DigitalOceanComputer

      public DigitalOceanComputer(Slave slave)
  • Method Details

    • updateInstanceDescription

      public com.myjeeva.digitalocean.pojo.Droplet updateInstanceDescription() throws com.myjeeva.digitalocean.exception.RequestUnsuccessfulException, com.myjeeva.digitalocean.exception.DigitalOceanException
      Throws:
      com.myjeeva.digitalocean.exception.RequestUnsuccessfulException
      com.myjeeva.digitalocean.exception.DigitalOceanException
    • onRemoved

      protected void onRemoved()
      Overrides:
      onRemoved in class Computer
    • getId

      public org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id getId()
      Specified by:
      getId in interface org.jenkinsci.plugins.cloudstats.TrackedItem
    • getCloud

      public DigitalOceanCloud getCloud()
    • getSshPort

      public int getSshPort()
    • getRemoteAdmin

      public String getRemoteAdmin()
    • getStartTimeMillis

      public long getStartTimeMillis()