public class ExtendedChoiceParameterDefinition
extends hudson.model.ParameterDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendedChoiceParameterDefinition.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAMETER_TYPE_CHECK_BOX |
static String |
PARAMETER_TYPE_MULTI_LEVEL_MULTI_SELECT |
static String |
PARAMETER_TYPE_MULTI_LEVEL_SINGLE_SELECT |
static String |
PARAMETER_TYPE_MULTI_SELECT |
static String |
PARAMETER_TYPE_RADIO |
static String |
PARAMETER_TYPE_SINGLE_SELECT |
static String |
PARAMETER_TYPE_TEXT_BOX |
| Constructor and Description |
|---|
ExtendedChoiceParameterDefinition(String name,
String type,
String value,
String propertyFile,
String propertyKey,
String defaultValue,
String defaultPropertyFile,
String defaultPropertyKey,
boolean quoteValue,
int visibleItemCount,
String description,
String multiSelectDelimiter,
String bindFieldName,
boolean svnPath,
String svnUrl,
String svnUserName,
String svnPassword,
String projectName,
boolean roleBasedFilter) |
public static final String PARAMETER_TYPE_SINGLE_SELECT
public static final String PARAMETER_TYPE_MULTI_SELECT
public static final String PARAMETER_TYPE_CHECK_BOX
public static final String PARAMETER_TYPE_RADIO
public static final String PARAMETER_TYPE_TEXT_BOX
public static final String PARAMETER_TYPE_MULTI_LEVEL_SINGLE_SELECT
public static final String PARAMETER_TYPE_MULTI_LEVEL_MULTI_SELECT
@DataBoundConstructor public ExtendedChoiceParameterDefinition(String name, String type, String value, String propertyFile, String propertyKey, String defaultValue, String defaultPropertyFile, String defaultPropertyKey, boolean quoteValue, int visibleItemCount, String description, String multiSelectDelimiter, String bindFieldName, boolean svnPath, String svnUrl, String svnUserName, String svnPassword, String projectName, boolean roleBasedFilter)
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest request)
createValue in class hudson.model.ParameterDefinitionpublic hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject jO)
createValue in class hudson.model.ParameterDefinitionpublic hudson.model.ParameterValue getDefaultParameterValue()
getDefaultParameterValue in class hudson.model.ParameterDefinition@JavaScriptMethod public String computeValue(String propertyFilePath, String propertyKey, String src_name)
public String getType()
getType in class hudson.model.ParameterDefinitionpublic void setType(String type)
public String getBindFieldName()
public void setBindFieldName(String bindFieldName)
public String getProjectName()
public void setProjectName(String projectName)
public String getSvnUrl()
public void setSvnUrl(String svnUrl)
public String getSvnUserName()
public void setSvnUserName(String svnUserName)
public String getSvnPassword()
public void setSvnPassword(String svnPassword)
public String getEffectiveDefaultValue()
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public String getPropertyFile()
public void setPropertyFile(String propertyFile)
public String getDefaultPropertyKey()
public void setDefaultPropertyKey(String defaultPropertyKey)
public String getEffectiveValue()
public String getMultiLevelDropdownIds() throws Exception
Exceptionpublic Map<String,String> getChoicesByDropdownId() throws Exception
Exceptionpublic String getValue()
public void setValue(String value)
public String getPropertyKey()
public void setPropertyKey(String propertyKey)
public String getDefaultPropertyFile()
public boolean isQuoteValue()
public void setQuoteValue(boolean quoteValue)
public boolean isSvnPath()
public void setSvnPath(boolean svnPath)
public boolean isRoleBasedFilter()
public void setRoleBasedFilter(boolean roleBasedFilter)
public int getVisibleItemCount()
public void setVisibleItemCount(int visibleItemCount)
public String getMultiSelectDelimiter()
public void setMultiSelectDelimiter(String multiSelectDelimiter)
public void setDefaultPropertyFile(String defaultPropertyFile)
Copyright © 2004-2014. All Rights Reserved.