public static final class GhprbGitHubAuth.DescriptorImpl extends hudson.model.Descriptor<GhprbGitHubAuth>
Constructor and Description |
---|
GhprbGitHubAuth.DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckRepoAccess(String serverAPIUrl,
String credentialsId,
String repo) |
hudson.util.FormValidation |
doCheckServerAPIUrl(String value) |
hudson.util.FormValidation |
doCreateApiToken(String serverAPIUrl,
String credentialsId,
String username,
String password) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems(hudson.model.Item context,
String serverAPIUrl,
String credentialsId)
Stapler helper method.
|
hudson.util.ListBoxModel |
doFillStateItems(String state) |
hudson.util.FormValidation |
doTestComment(String serverAPIUrl,
String credentialsId,
String repoName,
int issueId,
String comment) |
hudson.util.FormValidation |
doTestGithubAccess(String serverAPIUrl,
String credentialsId) |
hudson.util.FormValidation |
doTestUpdateStatus(String serverAPIUrl,
String credentialsId,
String repoName,
String sha1,
org.kohsuke.github.GHCommitState state,
String url,
String message,
String context) |
String |
getDisplayName() |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<GhprbGitHubAuth>
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath hudson.model.Item context, @QueryParameter String serverAPIUrl, @QueryParameter String credentialsId) throws URISyntaxException
context
- the context.serverAPIUrl
- the github api server url.credentialsId
- the credentialsId from the credentials pluginURISyntaxException
- If the url is badpublic hudson.util.FormValidation doCreateApiToken(@QueryParameter(value="serverAPIUrl") String serverAPIUrl, @QueryParameter(value="credentialsId") String credentialsId, @QueryParameter(value="username") String username, @QueryParameter(value="password") String password)
public hudson.util.FormValidation doCheckServerAPIUrl(@QueryParameter String value)
public hudson.util.FormValidation doCheckRepoAccess(@QueryParameter(value="serverAPIUrl") String serverAPIUrl, @QueryParameter(value="credentialsId") String credentialsId, @QueryParameter(value="repo") String repo)
public hudson.util.FormValidation doTestGithubAccess(@QueryParameter(value="serverAPIUrl") String serverAPIUrl, @QueryParameter(value="credentialsId") String credentialsId)
public hudson.util.FormValidation doTestComment(@QueryParameter(value="serverAPIUrl") String serverAPIUrl, @QueryParameter(value="credentialsId") String credentialsId, @QueryParameter(value="repo") String repoName, @QueryParameter(value="issueId") int issueId, @QueryParameter(value="message1") String comment)
public hudson.util.FormValidation doTestUpdateStatus(@QueryParameter(value="serverAPIUrl") String serverAPIUrl, @QueryParameter(value="credentialsId") String credentialsId, @QueryParameter(value="repo") String repoName, @QueryParameter(value="sha1") String sha1, @QueryParameter(value="state") org.kohsuke.github.GHCommitState state, @QueryParameter(value="url") String url, @QueryParameter(value="message2") String message, @QueryParameter(value="context") String context)
public hudson.util.ListBoxModel doFillStateItems(@QueryParameter(value="state") String state)
Copyright © 2016–2017. All rights reserved.