public class ChoiceParameter extends AbstractScriptableParameter
Modifier and Type | Class and Description |
---|---|
static class |
ChoiceParameter.DescriptImpl |
JENKINS_BUILD_VARIABLE_NAME, JENKINS_PROJECT_VARIABLE_NAME, script, SEPARATOR
DEFAULT_MAX_VISIBLE_ITEM_COUNT, ELEMENT_TYPE_FORMATTED_HIDDEN_HTML, ELEMENT_TYPE_FORMATTED_HTML, ELEMENT_TYPE_ORDERED_LIST, ELEMENT_TYPE_TEXT_BOX, ELEMENT_TYPE_UNORDERED_LIST, LOGGER, PARAMETER_TYPE_CHECK_BOX, PARAMETER_TYPE_MULTI_SELECT, PARAMETER_TYPE_RADIO, PARAMETER_TYPE_SINGLE_SELECT
Constructor and Description |
---|
ChoiceParameter(String name,
String description,
Script script,
String choiceType,
Boolean filterable)
Deprecated.
see JENKINS-32149
|
ChoiceParameter(String name,
String description,
String randomName,
Script script,
String choiceType,
Boolean filterable)
Constructor called from Jelly with parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getChoiceType()
Gets the choice type.
|
Boolean |
getFilterable()
Gets the filter flag.
|
getChoices, getChoices, getChoicesAsString, getChoicesAsString, getDefaultParameterValue, getParameters, getScript, getVisibleItemCount
all, createValue, createValue, getDescriptor, getRandomName
public ChoiceParameter(String name, String description, Script script, String choiceType, Boolean filterable)
name
- namedescription
- descriptionscript
- scriptchoiceType
- choice typefilterable
- filter flag@DataBoundConstructor public ChoiceParameter(String name, String description, String randomName, Script script, String choiceType, Boolean filterable)
name
- namedescription
- descriptionrandomName
- parameter random generated name (uuid)script
- scriptchoiceType
- choice typefilterable
- filter flagpublic String getChoiceType()
AbstractUnoChoiceParameter
Gets the choice type.
This method can be called from Javascript
getChoiceType
in class AbstractUnoChoiceParameter
public Boolean getFilterable()
Copyright © 2016. All rights reserved.