hudson.plugins.delta_cloud
Class DeltaCloud

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.slaves.Cloud
          extended by hudson.plugins.delta_cloud.DeltaCloud
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 DeltaCloud
extends hudson.slaves.Cloud


Nested Class Summary
static class DeltaCloud.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.slaves.Cloud
ALL, name, PROVISION
 
Constructor Summary
DeltaCloud(java.lang.String apiUrl, java.lang.String login, java.lang.String passwd, java.util.List<SlaveImage> images)
           
 
Method Summary
 boolean canProvision(hudson.model.Label label)
           
 java.lang.String getApiUrl()
           
 org.deltacloud.client.DeltaCloudClient getClient()
           
 DeltaCloud.DescriptorImpl getDescriptor()
           
 java.util.List<SlaveImage> getImages()
           
 java.lang.String getLogin()
           
 java.lang.String getPasswd()
           
 java.util.List<org.deltacloud.Realm> getRealms()
           
 java.util.Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label, int excessWorkload)
           
protected  java.lang.Object readResolve()
           
 
Methods inherited from class hudson.slaves.Cloud
all, checkPermission, getACL, 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
 

Constructor Detail

DeltaCloud

@DataBoundConstructor
public DeltaCloud(java.lang.String apiUrl,
                                       java.lang.String login,
                                       java.lang.String passwd,
                                       java.util.List<SlaveImage> images)
Method Detail

readResolve

protected java.lang.Object readResolve()

getApiUrl

public java.lang.String getApiUrl()

getLogin

public java.lang.String getLogin()

getPasswd

public java.lang.String getPasswd()

getImages

public java.util.List<SlaveImage> getImages()

getClient

public org.deltacloud.client.DeltaCloudClient getClient()

getRealms

public java.util.List<org.deltacloud.Realm> getRealms()
                                               throws org.deltacloud.client.DeltaCloudClientException
Throws:
org.deltacloud.client.DeltaCloudClientException

canProvision

public boolean canProvision(hudson.model.Label label)
Specified by:
canProvision in class hudson.slaves.Cloud

provision

public java.util.Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label,
                                                                                 int excessWorkload)
Specified by:
provision in class hudson.slaves.Cloud

getDescriptor

public DeltaCloud.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.slaves.Cloud>
Overrides:
getDescriptor in class hudson.slaves.Cloud


Copyright © 2004-2011. All Rights Reserved.