public class ComputeCloudClientManager extends Object implements AutoCloseable, ComputeCloudClientFactory
Constructor and Description |
---|
ComputeCloudClientManager(ComputeCloudClientFactory factory,
Collection<hudson.slaves.Cloud> activeClouds) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ComputeCloudClient |
createClient(ComputeCloud cloud) |
ComputeCloudClient |
createClient(URI apiEndpoint,
ComputeCloudUser user,
String password) |
String |
toString() |
public ComputeCloudClientManager(ComputeCloudClientFactory factory, Collection<hudson.slaves.Cloud> activeClouds)
factory
- the client factoryactiveClouds
- the list of active clouds, typically
Jenkins.clouds
public void close()
close
in interface AutoCloseable
public ComputeCloudClient createClient(ComputeCloud cloud)
public ComputeCloudClient createClient(URI apiEndpoint, ComputeCloudUser user, String password)
createClient
in interface ComputeCloudClientFactory
Copyright © 2016–2018. All rights reserved.