org.jenkinsci.plugins.StashBranchParameter
Class StashBranchParameterDefinition

java.lang.Object
  extended by hudson.model.ParameterDefinition
      extended by org.jenkinsci.plugins.StashBranchParameter.StashBranchParameterDefinition
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.ParameterDefinition>, Serializable

public class StashBranchParameterDefinition
extends hudson.model.ParameterDefinition

Created by erwin on 13/03/14.

See Also:
Serialized Form

Nested Class Summary
static class StashBranchParameterDefinition.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition
hudson.model.ParameterDefinition.ParameterDescriptor
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.ParameterDefinition
LIST
 
Constructor Summary
StashBranchParameterDefinition(String name, String description, String stashApiUrl, String username, String password)
           
 
Method Summary
 hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest staplerRequest)
           
 hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest staplerRequest, net.sf.json.JSONObject jsonObject)
           
 Map<String,Map<String,String>> getDefaultValueMap()
           
 String getPassword()
           
 String getStashApiUrl()
           
 String getUsername()
           
 void setPassword(String password)
           
 void setStashApiUrl(String stashApiUrl)
           
 void setUsername(String username)
           
 
Methods inherited from class hudson.model.ParameterDefinition
all, copyWithDefaultValue, createValue, getDefaultParameterValue, getDescription, getDescriptor, getFormattedDescription, getName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StashBranchParameterDefinition

@DataBoundConstructor
public StashBranchParameterDefinition(String name,
                                                           String description,
                                                           String stashApiUrl,
                                                           String username,
                                                           String password)
Method Detail

createValue

public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest staplerRequest,
                                               net.sf.json.JSONObject jsonObject)
Specified by:
createValue in class hudson.model.ParameterDefinition

createValue

public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest staplerRequest)
Specified by:
createValue in class hudson.model.ParameterDefinition

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getStashApiUrl

public String getStashApiUrl()

setStashApiUrl

public void setStashApiUrl(String stashApiUrl)

getDefaultValueMap

public Map<String,Map<String,String>> getDefaultValueMap()
                                                  throws IOException
Throws:
IOException


Copyright © 2004-2014. All Rights Reserved.