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) allowCollectionScope(boolean allowCollectionScope) 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.SetterCurrent scope is used when this method is NOT called.- Specified by:
scopein interfaceDataSetParameter.Setter
-
prototype
Description copied from interface:DataSetParameter.SetterClears 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:
prototypein interfaceDataSetParameter.Setter
-
subtype
Description copied from interface:DataSetParameter.SetterMust be used afterDataSetParameter.Setter.prototype(), otherwise the value is lost.- Specified by:
subtypein interfaceDataSetParameter.Setter
-
luceneQuery
- Specified by:
luceneQueryin interfaceDataSetParameter.Setter
-
lucenePlusVelocityQuery
- Specified by:
lucenePlusVelocityQueryin interfaceDataSetParameter.Setter
-
sqlQuery
@NotNull DataSetParameter.Builder sqlQuery(@Nullable String columnsQuery, @Nullable String tablesQuery, @Nullable String restQuery) - Specified by:
sqlQueryin interfaceDataSetParameter.Setter
-
sqlPlusVelocityQuery
@NotNull DataSetParameter.Builder sqlPlusVelocityQuery(@Nullable String columnsQuery, @Nullable String tablesQuery, @Nullable String restQuery) - Specified by:
sqlPlusVelocityQueryin interfaceDataSetParameter.Setter
-
allowedPrototypes
Description copied from interface:DataSetParameter.SetterSets 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:
allowedPrototypesin interfaceDataSetParameter.Setter
-
allowCollectionScope
- Specified by:
allowCollectionScopein interfaceDataSetParameter.Setter- Since:
- 3.25.12
-