Class DestroyMachine

java.lang.Object
jenkins.plugins.openstack.compute.internal.DestroyMachine
All Implemented Interfaces:
Serializable, org.jenkinsci.plugins.resourcedisposer.Disposable

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class DestroyMachine extends Object implements org.jenkinsci.plugins.resourcedisposer.Disposable
Dispose OpenStack VM *without* cleaning up the Jenkins computer. See jenkins.plugins.openstack.compute.JCloudsSlave.RecordDisposal for the variant that does both.
See Also:
  • Constructor Details

    • DestroyMachine

      public DestroyMachine(@Nonnull String cloudName, @Nonnull String nodeId)
  • Method Details

    • dispose

      @Nonnull public org.jenkinsci.plugins.resourcedisposer.Disposable.State dispose()
      Specified by:
      dispose in interface org.jenkinsci.plugins.resourcedisposer.Disposable
    • getDisplayName

      @Nonnull public String getDisplayName()
      Specified by:
      getDisplayName in interface org.jenkinsci.plugins.resourcedisposer.Disposable
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object