public abstract class AbstractUnoChoiceParameter extends hudson.model.SimpleParameterDefinition implements UnoChoiceParameter
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_VISIBLE_ITEM_COUNT |
static String |
ELEMENT_TYPE_FORMATTED_HIDDEN_HTML |
static String |
ELEMENT_TYPE_FORMATTED_HTML |
static String |
ELEMENT_TYPE_ORDERED_LIST |
static String |
ELEMENT_TYPE_TEXT_BOX |
static String |
ELEMENT_TYPE_UNORDERED_LIST |
protected static Logger |
LOGGER |
static String |
PARAMETER_TYPE_CHECK_BOX |
static String |
PARAMETER_TYPE_MULTI_SELECT |
static String |
PARAMETER_TYPE_RADIO |
static String |
PARAMETER_TYPE_SINGLE_SELECT |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractUnoChoiceParameter(String name,
String description)
Inherited constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<hudson.model.ParameterDefinition,hudson.model.ParameterDefinition.ParameterDescriptor> |
all() |
hudson.model.ParameterValue |
createValue(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject json) |
hudson.model.ParameterValue |
createValue(String value) |
abstract String |
getChoiceType()
Gets the choice type.
|
hudson.model.ParameterDefinition.ParameterDescriptor |
getDescriptor() |
String |
getRandomName()
Gets the randomly generated parameter name.
|
protected static final Logger LOGGER
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 ELEMENT_TYPE_TEXT_BOX
public static final String ELEMENT_TYPE_ORDERED_LIST
public static final String ELEMENT_TYPE_UNORDERED_LIST
public static final String ELEMENT_TYPE_FORMATTED_HTML
public static final String ELEMENT_TYPE_FORMATTED_HIDDEN_HTML
public static final int DEFAULT_MAX_VISIBLE_ITEM_COUNT
public String getRandomName()
public hudson.model.ParameterValue createValue(String value)
createValue in class hudson.model.SimpleParameterDefinitionpublic hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject json)
createValue in class hudson.model.ParameterDefinitionpublic abstract String getChoiceType()
Gets the choice type.
This method can be called from Javascript
public hudson.model.ParameterDefinition.ParameterDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.model.ParameterDefinition>getDescriptor in class hudson.model.ParameterDefinitionpublic static hudson.DescriptorExtensionList<hudson.model.ParameterDefinition,hudson.model.ParameterDefinition.ParameterDescriptor> all()
Copyright © 2004-2015. All Rights Reserved.