public abstract class AbstractCloudImpl extends Cloud
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.
AbstractCloudSlave
ExtensionPoint.LegacyInstancesAreScopedToHudson
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem
Modifier | Constructor and Description |
---|---|
protected |
AbstractCloudImpl(String name,
String instanceCapStr) |
Modifier and Type | Method and Description |
---|---|
int |
getInstanceCap()
Gets the instance cap as int, where the capless is represented as
Integer.MAX_VALUE |
String |
getInstanceCapStr()
Gets the instance cap as string.
|
protected void |
setInstanceCap(int v) |
protected void |
setInstanceCapStr(String value) |
all, canProvision, getACL, getDescriptor, getDisplayName, getSearchUrl, getUrl, provision
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, hasPermission, hasPermission
protected void setInstanceCapStr(String value)
public String getInstanceCapStr()
public int getInstanceCap()
Integer.MAX_VALUE
protected void setInstanceCap(int v)
Copyright © 2004–2019. All rights reserved.