Class DefaultQueryFactory

  • All Implemented Interfaces:

    public class DefaultQueryFactory
    extends Object
    implements QueryFactory
    A default implementation of QueryFactory that maps query type keys to plugin module complete keys. Plugin modules must be of type SearchQueryModuleDescriptor.

    So the most common query types can have more readable seralized forms, any query type key that does not look like a plugin module complete key will be assumed to be a module in the "" plugin. So, for example, looking up "inSpace" is the functional equivalent of looking up "".

    • Constructor Detail

      • DefaultQueryFactory

        public DefaultQueryFactory​(com.atlassian.plugin.PluginAccessor pluginAccessor)
        Construct a new query factory
        pluginAccessor - the PluginAccessor to retrieve query modules from.