Package hudson.util

Examples of hudson.util.AutoCompleteSeeder


        }

       public AutoCompletionCandidates doAutoCompleteAssignedLabelString(@QueryParameter String value) {
            AutoCompletionCandidates c = new AutoCompletionCandidates();
            Set<Label> labels = Hudson.getInstance().getLabels();
            List<String> queries = new AutoCompleteSeeder(value).getSeeds();

            for (String term : queries) {
                for (Label l : labels) {
                    if (l.getName().startsWith(term)) {
                        c.add(l.getName());
View Full Code Here


        }

        public AutoCompletionCandidates doAutoCompleteChildProjectsValue(@QueryParameter String value) {
            AutoCompletionCandidates c = new AutoCompletionCandidates();
            List<Item> items = Hudson.getInstance().getItems(Item.class);
            List<String> queries = new AutoCompleteSeeder(value).getSeeds();

            for (String term : queries) {
                for (Item item : items) {
                    if (item.getName().startsWith(term)) {
                        c.add(item.getName());
View Full Code Here

TOP

Related Classes of hudson.util.AutoCompleteSeeder

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.