com.elasticbox.jenkins
Class ElasticBoxCloud
java.lang.Object
hudson.model.AbstractModelObject
hudson.slaves.Cloud
hudson.slaves.AbstractCloudImpl
com.elasticbox.jenkins.ElasticBoxCloud
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.Cloud>, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled
public class ElasticBoxCloud
- extends hudson.slaves.AbstractCloudImpl
- Author:
- Phong Nguyen Le
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.slaves.Cloud |
ALL, name, PROVISION |
| Methods inherited from class hudson.slaves.AbstractCloudImpl |
getInstanceCap, getInstanceCapStr, setInstanceCap, setInstanceCapStr |
| Methods inherited from class hudson.slaves.Cloud |
all, checkPermission, getACL, getDescriptor, getDisplayName, getSearchUrl, hasPermission |
| Methods inherited from class hudson.model.AbstractModelObject |
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElasticBoxCloud
@DataBoundConstructor
public ElasticBoxCloud(String endpointUrl,
int maxInstances,
int retentionTime,
String username,
String password)
provision
public Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label,
int excessWorkload)
- Specified by:
provision in class hudson.slaves.Cloud
canProvision
public boolean canProvision(hudson.model.Label label)
- Specified by:
canProvision in class hudson.slaves.Cloud
getEndpointUrl
public String getEndpointUrl()
getUsername
public String getUsername()
getPassword
public String getPassword()
getMaxInstances
public int getMaxInstances()
getRetentionTime
public int getRetentionTime()
getInstance
public static final ElasticBoxCloud getInstance()
getInstance
public static final ElasticBoxCloud getInstance(String name)
Copyright © 2004-2014. All Rights Reserved.