public static final class Configuration.ConfigurationDescriptor extends hudson.model.Descriptor<Configuration>
| Constructor and Description |
|---|
ConfigurationDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
float |
get(String repo) |
Map<String,Float> |
getCoverageByRepo() |
String |
getDisplayName() |
String |
getGitHubApiUrl() |
int |
getGreenThreshold() |
String |
getJenkinsUrl() |
String |
getPersonalAccessToken() |
int |
getYellowThreshold() |
void |
set(String repo,
float coverage) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, 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, toMappublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<Configuration>public float get(String repo)
public void set(String repo, float coverage)
public String getGitHubApiUrl()
public String getPersonalAccessToken()
public int getYellowThreshold()
public int getGreenThreshold()
public String getJenkinsUrl()
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<Configuration>hudson.model.Descriptor.FormExceptionCopyright © 2016–2017. All rights reserved.