public class Connector extends Object
github-api.| Modifier and Type | Field and Description |
|---|---|
static org.kohsuke.github.RateLimitHandler |
CUSTOMIZED
Fail immediately and throw a customized exception.
|
| Modifier and Type | Method and Description |
|---|---|
static hudson.util.FormValidation |
checkScanCredentials(jenkins.scm.api.SCMSourceOwner context,
String apiUri,
String scanCredentialsId) |
static org.kohsuke.github.GitHub |
connect(String apiUri,
com.cloudbees.plugins.credentials.common.StandardCredentials credentials) |
static hudson.util.ListBoxModel |
listCheckoutCredentials(jenkins.scm.api.SCMSourceOwner context,
String apiUri) |
static hudson.util.ListBoxModel |
listScanCredentials(jenkins.scm.api.SCMSourceOwner context,
String apiUri) |
static com.cloudbees.plugins.credentials.common.StandardCredentials |
lookupScanCredentials(jenkins.scm.api.SCMSourceOwner context,
String apiUri,
String scanCredentialsId) |
public static final org.kohsuke.github.RateLimitHandler CUSTOMIZED
public static hudson.util.ListBoxModel listScanCredentials(jenkins.scm.api.SCMSourceOwner context,
String apiUri)
public static hudson.util.FormValidation checkScanCredentials(jenkins.scm.api.SCMSourceOwner context,
String apiUri,
String scanCredentialsId)
@CheckForNull public static com.cloudbees.plugins.credentials.common.StandardCredentials lookupScanCredentials(@CheckForNull jenkins.scm.api.SCMSourceOwner context, @CheckForNull String apiUri, @CheckForNull String scanCredentialsId)
public static hudson.util.ListBoxModel listCheckoutCredentials(jenkins.scm.api.SCMSourceOwner context,
String apiUri)
@Nonnull public static org.kohsuke.github.GitHub connect(@CheckForNull String apiUri, @CheckForNull com.cloudbees.plugins.credentials.common.StandardCredentials credentials) throws IOException
IOExceptionCopyright © 2016. All rights reserved.