forked from jenkinsci/jenkins
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2673844
commit 80f24cb
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package hudson.search; | ||
|
||
import org.kohsuke.stapler.export.Exported; | ||
import org.kohsuke.stapler.export.ExportedBean; | ||
|
||
@ExportedBean(defaultVisibility = 999) | ||
public class SearchGroup { | ||
|
||
private final String displayName; | ||
|
||
public SearchGroup(String displayName) { | ||
this.displayName = displayName; | ||
} | ||
|
||
@Exported | ||
public String getDisplayName() { | ||
return displayName; | ||
} | ||
|
||
public static final SearchGroup VIEW = new SearchGroup(Messages.SearchGroup_views()); | ||
|
||
public static final SearchGroup BUILD = new SearchGroup(Messages.SearchGroup_builds()); | ||
|
||
public static final SearchGroup COMPUTER = new SearchGroup(Messages.SearchGroup_nodes()); | ||
|
||
public static final SearchGroup PROJECT = new SearchGroup(Messages.SearchGroup_projects()); | ||
|
||
public static final SearchGroup PEOPLE = new SearchGroup(Messages.SearchGroup_people()); | ||
|
||
public static final SearchGroup OTHER = new SearchGroup(Messages.SearchGroup_other()); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters