@Extension
public static class TestQualityNotifier.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_URL |
static String |
DISPLAY_NAME |
static String |
NO_CONNECTION |
| Constructor and Description |
|---|
DescriptorImpl()
In order to load the persisted global configuration, you have to
call load() in the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckProject(String project) |
hudson.util.FormValidation |
doCheckTestResults(hudson.model.AbstractProject project,
String value)
Performs on-the-fly validation on the file mask wildcard.
|
hudson.util.ListBoxModel |
doFillMilestoneItems(String project,
String savedMilestone) |
hudson.util.ListBoxModel |
doFillPlanItems(String project,
String savedPlan) |
hudson.util.ListBoxModel |
doFillProjectItems(String savedProject) |
hudson.util.FormValidation |
doTestConnection(String url,
String username,
String password) |
String |
getDisplayName() |
String |
getHelpFile() |
String |
getPassword() |
String |
getUrl() |
String |
getUsername() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static final String DEFAULT_URL
public static final String NO_CONNECTION
public static final String DISPLAY_NAME
public DescriptorImpl()
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public String getHelpFile()
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Publisher>public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public hudson.util.FormValidation doTestConnection(@QueryParameter(value="url")
String url,
@QueryParameter(value="username")
String username,
@QueryParameter(value="password")
String password)
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic String getUrl()
public String getUsername()
public String getPassword()
public hudson.util.FormValidation doCheckProject(@QueryParameter(value="project")
String project)
throws IOException
IOExceptionpublic hudson.util.ListBoxModel doFillProjectItems(@QueryParameter(value="project")
String savedProject)
throws hudson.util.FormValidation
hudson.util.FormValidationpublic hudson.util.ListBoxModel doFillPlanItems(@QueryParameter
String project,
@QueryParameter(value="plan")
String savedPlan)
public hudson.util.ListBoxModel doFillMilestoneItems(@QueryParameter
String project,
@QueryParameter(value="milestone")
String savedMilestone)
public hudson.util.FormValidation doCheckTestResults(@AncestorInPath
hudson.model.AbstractProject project,
@QueryParameter
String value)
throws IOException
project - Project.value - File mask to validate.IOException - if an error occurs.Copyright © 2016–2018. All rights reserved.