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, 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.ParameterDefinition.ParameterDescriptorpublic 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.FormExceptionpublic hudson.util.FormValidation doCheckUsername(@QueryParameter
String stashApiUrl,
@QueryParameter
String username,
@QueryParameter
String password)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.FormValidation doCheckPassword(@QueryParameter
String stashApiUrl,
@QueryParameter
String username,
@QueryParameter
String password)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic hudson.util.ListBoxModel doFillRepositoryItems()
throws MalformedURLException
MalformedURLExceptionCopyright © 2004-2015. All Rights Reserved.