Interface DataSetParameter.Builder
- All Superinterfaces:
CompositeParameter.BuilderBase<DataSetParameter,
,DataSetParameter.Builder> DataSetParameter.Setter
,RichPageParameter.Builder<DataSetParameter,
DataSetParameter.Builder>
- Enclosing interface:
- DataSetParameter
public static interface DataSetParameter.Builder
extends DataSetParameter.Setter, CompositeParameter.BuilderBase<DataSetParameter,DataSetParameter.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionadd
(String id, RichPageParameter parameter) allowedPrototypes
(PrototypeEnum firstAllowed, PrototypeEnum... otherAllowed) Sets which prototypes will be selectable by a user and overrides the values set byDataSetParameter.Setter.allowedPrototypes(Iterable)
.allowedPrototypes
(Iterable<String> allowedPrototypes) Sets which prototypes will be selectable by a user and overrides the values set byDataSetParameter.Setter.allowedPrototypes(PrototypeEnum, PrototypeEnum...)
If the allowed prototypes do not contain the target prototype then the first allowed prototype is automatically selected as the target prototype.lucenePlusVelocityQuery
(String value) luceneQuery
(String value) Clears the subtype defined byDataSetParameter.Setter.subtype(String)
, so it must be used before usingDataSetParameter.Setter.subtype(String)
.scope()
Current scope is used when this method is NOT called.sqlPlusVelocityQuery
(String columnsQuery, String tablesQuery, String restQuery) Must be used afterDataSetParameter.Setter.prototype()
, otherwise the value is lost.Methods inherited from interface com.polarion.alm.shared.api.model.rp.parameter.RichPageParameter.Builder
build, dependencySource, dependencyTarget
-
Method Details
-
scope
Description copied from interface:DataSetParameter.Setter
Current scope is used when this method is NOT called.- Specified by:
scope
in interfaceDataSetParameter.Setter
-
prototype
Description copied from interface:DataSetParameter.Setter
Clears the subtype defined byDataSetParameter.Setter.subtype(String)
, so it must be used before usingDataSetParameter.Setter.subtype(String)
. If the prototype is not contained in the allowed prototypes (specified withDataSetParameter.Setter.allowedPrototypes(PrototypeEnum, PrototypeEnum...)
. orDataSetParameter.Setter.allowedPrototypes(Iterable)
) then it is added automatically.- Specified by:
prototype
in interfaceDataSetParameter.Setter
-
subtype
Description copied from interface:DataSetParameter.Setter
Must be used afterDataSetParameter.Setter.prototype()
, otherwise the value is lost.- Specified by:
subtype
in interfaceDataSetParameter.Setter
-
luceneQuery
- Specified by:
luceneQuery
in interfaceDataSetParameter.Setter
-
lucenePlusVelocityQuery
- Specified by:
lucenePlusVelocityQuery
in interfaceDataSetParameter.Setter
-
sqlQuery
@NotNull DataSetParameter.Builder sqlQuery(@Nullable String columnsQuery, @Nullable String tablesQuery, @Nullable String restQuery) - Specified by:
sqlQuery
in interfaceDataSetParameter.Setter
-
sqlPlusVelocityQuery
@NotNull DataSetParameter.Builder sqlPlusVelocityQuery(@Nullable String columnsQuery, @Nullable String tablesQuery, @Nullable String restQuery) - Specified by:
sqlPlusVelocityQuery
in interfaceDataSetParameter.Setter
-
allowedPrototypes
Description copied from interface:DataSetParameter.Setter
Sets which prototypes will be selectable by a user and overrides the values set byDataSetParameter.Setter.allowedPrototypes(PrototypeEnum, PrototypeEnum...)
If the allowed prototypes do not contain the target prototype then the first allowed prototype is automatically selected as the target prototype.- Specified by:
allowedPrototypes
in interfaceDataSetParameter.Setter
-