Interface CustomEnumParameter
- All Superinterfaces:
RichPageParameter
Widget Parameter for selecting value from custom enumeration.
Widget developer specifies available options by
Widget developer specifies available options by
CustomEnumParameter.Builder.addEnumItem(String, String)
- Since:
- 3.10.1
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
Nested classes/interfaces inherited from interface com.polarion.alm.shared.api.model.rp.parameter.RichPageParameter
RichPageParameter.Visuals
-
Method Summary
Methods inherited from interface com.polarion.alm.shared.api.model.rp.parameter.RichPageParameter
label, visuals
-
Method Details
-
values
Return selected values. Can be empty.- Returns:
- list with values.
-
singleValue
Returns first selected value ornull
if nothing is selected. -
names
Return selected names. Can be empty.- Returns:
- list with names.
- Since:
- 3.10.2
-
singleName
Returns first selected name ornull
if nothing is selected.- Since:
- 3.10.2
-
allowMultipleValues
boolean allowMultipleValues()Returns true if this parameter is multiple.- Since:
- 3.10.2
-
set
- Returns:
- interface for setting parameter configuration which can be used inside
RichPageWidget.processParameterDependencies(RichPageWidgetDependenciesContext)
to change parameter configuration depending on values set by user in other parameters. - Throws:
UnsupportedOperationException
- if this parameter is a page parameter.
-