@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 |
doFillUsernamePasswordCredentialsIdItems() |
static ViolationsToGitHubConfiguration |
get()
Returns this singleton instance.
|
String |
getGitHubUrl() |
String |
getoAuth2Token() |
String |
getPassword() |
String |
getRepositoryOwner() |
String |
getUsername() |
String |
getUsernamePasswordCredentialsId() |
void |
setGitHubUrl(String gitHubUrl) |
void |
setoAuth2Token(String oAuth2Token) |
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 doFillUsernamePasswordCredentialsIdItems()
public String getGitHubUrl()
public String getoAuth2Token()
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 setPassword(String password)
@DataBoundSetter public void setRepositoryOwner(String repositoryOwner)
@DataBoundSetter public void setUsername(String username)
public void setUsernamePasswordCredentialsId(String usernamePasswordCredentialsId)
Copyright © 2004-2016. All Rights Reserved.