5f6222910e
Create a DynamicBuilder interface in the QueryBuilder class along with supporting methods and enhancements to support defining dynamic search operators that can be altered for each query build. Despite allowing for dynamic modifications, the QueryBuilder class was kept generic. No imports or dependencies on other Gerrit frameworks such as plugin logic were added to the QueryBuilder. Enhance the ChangeQueryBuilder to use a DynamicSet to define DynamicBuilders so that plugins can define search operators. Plugins can define DynamicBuilders and bind them to the DynamicSet on load. Plugin search operators are defined similarly to the way ChangeQueryBuilder operators are defined, by annotating methods in the DynamicBuilder with @Operator. The name of the annotated method determines the name of the search operator. Change-Id: I11daed482562b82cb4dce1d8abd846f06784eb3a |
||
---|---|---|
.. | ||
commit-message-length-validator@8d295ed48e | ||
cookbook-plugin@1b41f7a615 | ||
download-commands@86eb557335 | ||
replication@4d583d8b5e | ||
reviewnotes@26f38c4514 | ||
singleusergroup@f6df7121d2 | ||
BUCK |