@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() |
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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()
public se.bjurr.violations.lib.model.SEVERITY getMinSeverity()
@DataBoundSetter public void setMinSeverity(se.bjurr.violations.lib.model.SEVERITY minSeverity)
@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 © 2016–2017. All rights reserved.