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.StashBranchParameterDescriptor
           
 
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 repository)
           
 
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()
           
 StashBranchParameterDefinition.StashBranchParameterDescriptor getDescriptor()
           
 String getRepository()
           
 void setRepository(String repository)
           
 
Methods inherited from class hudson.model.ParameterDefinition
all, copyWithDefaultValue, createValue, getDefaultParameterValue, getDescription, 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 repository)
Method Detail

getRepository

public String getRepository()

setRepository

public void setRepository(String repository)

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

getDefaultValueMap

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

getDescriptor

public StashBranchParameterDefinition.StashBranchParameterDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.model.ParameterDefinition>
Overrides:
getDescriptor in class hudson.model.ParameterDefinition


Copyright © 2004-2014. All Rights Reserved.