public class StashBranchParameterDescriptor
extends hudson.model.ParameterDefinition.ParameterDescriptor
Constructor and Description |
---|
StashBranchParameterDescriptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckPassword(String stashApiUrl,
String username,
String password) |
hudson.util.FormValidation |
doCheckUsername(String stashApiUrl,
String username,
String password) |
hudson.util.ListBoxModel |
doFillRepositoryItems() |
String |
getDisplayName() |
String |
getPassword() |
String |
getRepo() |
String |
getStashApiUrl() |
String |
getUsername() |
void |
setPassword(hudson.util.Secret password) |
void |
setRepo(String repo) |
void |
setStashApiUrl(String stashApiUrl) |
void |
setUsername(String username) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, 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 String getDisplayName()
getDisplayName
in class hudson.model.ParameterDefinition.ParameterDescriptor
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(hudson.util.Secret password)
public String getStashApiUrl()
public void setStashApiUrl(String stashApiUrl)
public String getRepo()
public void setRepo(String repo)
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.model.ParameterDefinition>
hudson.model.Descriptor.FormException
public hudson.util.FormValidation doCheckUsername(@QueryParameter String stashApiUrl, @QueryParameter String username, @QueryParameter String password) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public hudson.util.FormValidation doCheckPassword(@QueryParameter String stashApiUrl, @QueryParameter String username, @QueryParameter String password) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public hudson.util.ListBoxModel doFillRepositoryItems() throws MalformedURLException
MalformedURLException
Copyright © 2004-2017. All Rights Reserved.