Interface EnumParameter.SetterBase
- All Known Subinterfaces:
EnumParameter.Builder
,EnumParameter.Setter
- Enclosing interface:
- EnumParameter
public static interface EnumParameter.SetterBase
- Since:
- 3.9.2
-
Method Summary
Modifier and TypeMethodDescriptionallowMultipleValues
(boolean allow) allowNoValue
(boolean allow) loadForAllTypes
(boolean load) Configures to load enumeration options for all work item types.
Default value is true.Optionally select scope of the enumeration.singleValue
(String value) Overrides values set byvalues(String...)
orvalues(String...)
methods.Overrides values set byvalues(String...)
orsingleValue(String)
methods.Overrides values set byvalues(Iterable)
orsingleValue(String)
methods.
-
Method Details
-
type
-
loadForAllTypes
Configures to load enumeration options for all work item types.
Default value is true. -
allowNoValue
-
allowMultipleValues
- Throws:
IllegalArgumentException
- if there are more than one values already set byvalues(Iterable)
orvalues(String...)
and the value is false
-
values
Overrides values set byvalues(String...)
orsingleValue(String)
methods.- Returns:
- the same instance to allow method chaining.
- Throws:
IllegalArgumentException
- if this parameter does not allow multiple values and the parameter contains more then one value
-
values
Overrides values set byvalues(Iterable)
orsingleValue(String)
methods.- Returns:
- the same instance to allow method chaining.
- Throws:
IllegalArgumentException
- if this parameter does not allow multiple values and the parameter contains more then one value
-
singleValue
Overrides values set byvalues(String...)
orvalues(String...)
methods.- Returns:
- the same instance to allow method chaining.
-