@Extension public class ViolationsToGitHubConfiguration extends jenkins.model.GlobalConfiguration implements Serializable
Modifier and Type | Field and Description |
---|---|
String |
gitHubUrl |
String |
oAuth2Token |
String |
password |
String |
repositoryOwner |
String |
username |
Constructor and Description |
---|
ViolationsToGitHubConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.ListBoxModel |
doFillOAuth2TokenCredentialsIdItems() |
hudson.util.ListBoxModel |
doFillUsernamePasswordCredentialsIdItems() |
static ViolationsToGitHubConfiguration |
get()
Returns this singleton instance.
|
String |
getGitHubUrl() |
String |
getoAuth2Token() |
String |
getoAuth2TokenCredentialsId() |
String |
getPassword() |
String |
getRepositoryOwner() |
String |
getUsername() |
String |
getUsernamePasswordCredentialsId() |
void |
setGitHubUrl(String gitHubUrl) |
void |
setoAuth2Token(String oAuth2Token) |
void |
setoAuth2TokenCredentialsId(String oAuth2TokenCredentialsId) |
void |
setPassword(String password) |
void |
setRepositoryOwner(String repositoryOwner) |
void |
setUsername(String username) |
void |
setUsernamePasswordCredentialsId(String usernamePasswordCredentialsId) |
String |
toString() |
all, getCategory, getDescriptor, getDisplayName, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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 gitHubUrl
public String oAuth2Token
public String password
public String repositoryOwner
public String username
public static ViolationsToGitHubConfiguration get()
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws hudson.model.Descriptor.FormException
configure
in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>
hudson.model.Descriptor.FormException
public hudson.util.ListBoxModel doFillOAuth2TokenCredentialsIdItems()
public hudson.util.ListBoxModel doFillUsernamePasswordCredentialsIdItems()
public String getGitHubUrl()
public String getoAuth2Token()
public String getoAuth2TokenCredentialsId()
public String getPassword()
public String getRepositoryOwner()
public String getUsername()
public String getUsernamePasswordCredentialsId()
@DataBoundSetter public void setGitHubUrl(String gitHubUrl)
@DataBoundSetter public void setoAuth2Token(String oAuth2Token)
@DataBoundSetter public void setoAuth2TokenCredentialsId(String oAuth2TokenCredentialsId)
@DataBoundSetter public void setPassword(String password)
@DataBoundSetter public void setRepositoryOwner(String repositoryOwner)
@DataBoundSetter public void setUsername(String username)
@DataBoundSetter public void setUsernamePasswordCredentialsId(String usernamePasswordCredentialsId)
Copyright © 2004-2016. All Rights Reserved.