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.CloudState
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the instance cap as int, where the capless is represented asInteger.MAX_VALUE
Gets the instance cap as string.protected void
setInstanceCap
(int v) protected void
setInstanceCapStr
(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, registerPermissions
Methods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActions
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
-
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)
-