org.jenkinsci.plugins.StashBranchParameter
Class StashBranchParameterDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<hudson.model.ParameterDefinition>
      extended by hudson.model.ParameterDefinition.ParameterDescriptor
          extended by org.jenkinsci.plugins.StashBranchParameter.StashBranchParameterDescriptor
All Implemented Interfaces:
hudson.model.Saveable
Direct Known Subclasses:
StashBranchParameterDefinition.StashBranchParameterDescriptorImpl

public class StashBranchParameterDescriptor
extends hudson.model.ParameterDefinition.ParameterDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
StashBranchParameterDescriptor()
           
 
Method Summary
 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)
           
 
Methods inherited from class hudson.model.ParameterDefinition.ParameterDescriptor
getValuePage
 
Methods inherited from class hudson.model.Descriptor
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StashBranchParameterDescriptor

public StashBranchParameterDescriptor()
Method Detail

getDisplayName

public String getDisplayName()
Overrides:
getDisplayName in class hudson.model.ParameterDefinition.ParameterDescriptor

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(hudson.util.Secret password)

getStashApiUrl

public String getStashApiUrl()

setStashApiUrl

public void setStashApiUrl(String stashApiUrl)

getRepo

public String getRepo()

setRepo

public void setRepo(String repo)

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.model.ParameterDefinition>
Throws:
hudson.model.Descriptor.FormException

doCheckUsername

public hudson.util.FormValidation doCheckUsername(@QueryParameter
                                                  String stashApiUrl,
                                                  @QueryParameter
                                                  String username,
                                                  @QueryParameter
                                                  String password)
                                           throws IOException,
                                                  javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doCheckPassword

public hudson.util.FormValidation doCheckPassword(@QueryParameter
                                                  String stashApiUrl,
                                                  @QueryParameter
                                                  String username,
                                                  @QueryParameter
                                                  String password)
                                           throws IOException,
                                                  javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doFillRepositoryItems

public hudson.util.ListBoxModel doFillRepositoryItems()
                                               throws MalformedURLException
Throws:
MalformedURLException


Copyright © 2004-2014. All Rights Reserved.