Package com.atlassian.labs.speakeasy.model

Examples of com.atlassian.labs.speakeasy.model.SearchResult


        Pattern pattern = Pattern.compile(searchQuery);
        List<SearchResult> results = newArrayList();
        for (Plugin plugin : extensionManager.getAllExtensionPlugins())
        {
            Bundle bundle = BundleUtil.findBundleForPlugin(bundleContext, plugin.getKey());
            SearchResult result = new SearchResult();
            result.setName(plugin.getName());
            result.setKey(plugin.getKey());
            if (isMatch(pattern, bundle))
            {
                results.add(result);
            }
        }
View Full Code Here

TOP

Related Classes of com.atlassian.labs.speakeasy.model.SearchResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.