Package hudson.slaves
Class AbstractCloudImpl
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.slaves.Cloud
hudson.slaves.AbstractCloudImpl
- All Implemented Interfaces:
ExtensionPoint,Describable<Cloud>,ModelObject,SearchableModelObject,SearchItem,AccessControlled,ModelObjectWithContextMenu
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.slaves.Cloud
Cloud.CloudStateNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the instance cap as int, where the capless is represented asInteger.MAX_VALUEGets the instance cap as string.protected voidsetInstanceCap(int v) protected voidsetInstanceCapStr(String value) Methods inherited from class hudson.slaves.Cloud
all, canProvision, canProvision, doConfigSubmit, doDoDelete, getACL, getDescriptor, getDisplayName, getIcon, getIconAltText, getIconClassName, getSearchUrl, getUrl, provision, provision, reconfigure, reconfigure, registerPermissionsMethods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2Methods inherited from interface hudson.search.SearchItem
getSearchGroup, getSearchIcon
-
Constructor Details
-
AbstractCloudImpl
-
-
Method Details
-
setInstanceCapStr
-
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 asInteger.MAX_VALUE -
setInstanceCap
protected void setInstanceCap(int v)
-