@Extension
public static final class DeploymentBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
See src/main/resources/hudson/plugins/hello_world/HelloWorldBuilder/*.jelly for the actual HTML fragment for the configuration screen.
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 |
doCheckPassword(String password) |
hudson.util.FormValidation |
doCheckUrl(String url)
Performs on-the-fly validation of the form field 'name'.
|
hudson.util.FormValidation |
doCheckUserId(String userId) |
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
String |
getProjectname() |
List<TestCaseBlock> |
getTestcaseblock() |
List<hudson.model.Descriptor> |
getTestcaseblockDescriptors() |
String |
getTestcasename() |
String |
getTransaction() |
String |
getType() |
String |
getTypename() |
boolean |
getUseFrench()
This method returns true if the global configuration says we should
speak French.
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
boolean |
isEnableTestCase() |
void |
setTestcaseblock(List<TestCaseBlock> testcaseblock) |
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, toMap
public DescriptorImpl()
public hudson.util.FormValidation doCheckUrl(@QueryParameter String url) throws IOException, javax.servlet.ServletException
url
- This parameter receives the value that the user has typed.
Note that returning FormValidation.error(String)
does
not prevent the form from being saved. It just means that a
message will be displayed to the user.
IOException
javax.servlet.ServletException
public hudson.util.FormValidation doCheckUserId(@QueryParameter String userId) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public hudson.util.FormValidation doCheckPassword(@QueryParameter String password) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable
in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.tasks.Builder>
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.Builder>
hudson.model.Descriptor.FormException
public boolean getUseFrench()
public String getProjectname()
public String getTestcasename()
public String getTypename()
public String getType()
public String getTransaction()
public boolean isEnableTestCase()
public List<TestCaseBlock> getTestcaseblock()
public void setTestcaseblock(List<TestCaseBlock> testcaseblock)
public List<hudson.model.Descriptor> getTestcaseblockDescriptors()
Copyright © 2004-2015. All Rights Reserved.