Skip to content

Commit d50c830

Browse files
committed
Init
1 parent 5acc0cb commit d50c830

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/com/cloudbees/hudson/plugins/folder/AbstractFolder.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
import jenkins.model.ModelObjectWithChildren;
103103
import jenkins.model.ProjectNamingStrategy;
104104
import jenkins.model.TransientActionFactory;
105+
import jenkins.search.SearchGroup;
105106
import jenkins.security.stapler.StaplerNotDispatchable;
106107
import net.sf.json.JSONObject;
107108
import org.kohsuke.accmod.Restricted;
@@ -139,7 +140,7 @@
139140
*/
140141
@SuppressWarnings({"unchecked", "rawtypes"}) // mistakes in various places
141142
@SuppressFBWarnings("DMI_RANDOM_USED_ONLY_ONCE") // https://github.com/spotbugs/spotbugs/issues/1539
142-
public abstract class AbstractFolder<I extends TopLevelItem> extends AbstractItem implements TopLevelItem, ItemGroup<I>, ModifiableViewGroup, StaplerFallback, ModelObjectWithChildren, StaplerOverridable {
143+
public abstract class AbstractFolder<I extends TopLevelItem> extends AbstractItem implements TopLevelItem, ItemGroup<I>, ModifiableViewGroup, StaplerFallback, ModelObjectWithChildren, StaplerOverridable, SearchItem {
143144

144145
/**
145146
* Our logger.
@@ -724,6 +725,11 @@ private ItemGroup<?> grp() {
724725
});
725726
}
726727

728+
@Override
729+
public SearchGroup getSearchGroup() {
730+
return SearchGroup.get(SearchGroup.JobSearchGroup.class);
731+
}
732+
727733
/**
728734
* {@inheritDoc}
729735
*/

0 commit comments

Comments
 (0)