public class ChoiceParameter extends AbstractScriptableParameter
| Modifier and Type | Class and Description |
|---|---|
static class |
ChoiceParameter.DescriptImpl |
EQUALS, JENKINS_BUILD_VARIABLE_NAME, JENKINS_PROJECT_VARIABLE_NAME, script, SEPARATORDEFAULT_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, getVisibleItemCountall, createValue, createValue, getDescriptor, getRandomNamepublic 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()
AbstractUnoChoiceParameterGets the choice type.
This method can be called from Javascript
getChoiceType in class AbstractUnoChoiceParameterpublic Boolean getFilterable()
Copyright © 2016–2017. All rights reserved.