Package hudson.slaves

Class AbstractCloudImpl

All Implemented Interfaces:
ExtensionPoint, Describable<Cloud>, ModelObject, SearchableModelObject, SearchItem, AccessControlled, ModelObjectWithContextMenu

public abstract class AbstractCloudImpl extends Cloud
Additional convenience implementation on top of Cloud that are likely useful to typical Cloud implementations.

Whereas Cloud is the contract between the rest of Jenkins and a cloud implementation, this class focuses on providing a convenience to minimize the effort it takes to integrate a new cloud to Jenkins.

Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • AbstractCloudImpl

      protected AbstractCloudImpl(String name, String instanceCapStr)
  • Method Details

    • setInstanceCapStr

      protected void setInstanceCapStr(String value)
    • getInstanceCapStr

      public String getInstanceCapStr()
      Gets the instance cap as string. Used primarily for form binding.
    • getInstanceCap

      public int getInstanceCap()
      Gets the instance cap as int, where the capless is represented as Integer.MAX_VALUE
    • setInstanceCap

      protected void setInstanceCap(int v)