|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jenkinsci.plugins.packagecloud.PackageCloudHelper
public class PackageCloudHelper
Helper for interacting with the PackageCloud client library
| Constructor Summary | |
|---|---|
PackageCloudHelper()
|
|
| Method Summary | |
|---|---|
io.packagecloud.client.PackageCloud |
configuredClient(com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials creds,
io.packagecloud.client.Connection connection)
Configured client. |
io.packagecloud.client.Connection |
getConnectionForHostAndPort(String hostname,
String port,
String protocol)
|
List<com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials> |
getCredentials(String domain)
Gets credentials. |
com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials |
getCredentialsForUser(String username,
String domain)
Gets credentials for user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PackageCloudHelper()
| Method Detail |
|---|
public List<com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials> getCredentials(String domain)
public com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials getCredentialsForUser(String username,
String domain)
username - the username
public io.packagecloud.client.Connection getConnectionForHostAndPort(String hostname,
String port,
String protocol)
public io.packagecloud.client.PackageCloud configuredClient(com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials creds,
io.packagecloud.client.Connection connection)
creds - the creds
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||