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
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, checkPermission, getACL, getDescriptor, getDisplayName, getSearchUrl, hasPermission, provision
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
protected void setInstanceCapStr(String value)
public String getInstanceCapStr()
public int getInstanceCap()
Integer.MAX_VALUE
protected void setInstanceCap(int v)
Copyright © 2017. All rights reserved.