mirror of https://github.com/jenkinsci/jenkins.git
Init
This commit is contained in:
parent
26738449cd
commit
80f24cbfdc
|
@ -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());
|
||||
}
|
|
@ -21,3 +21,9 @@
|
|||
# THE SOFTWARE.
|
||||
|
||||
UserSearchProperty.DisplayName=Setting for search
|
||||
SearchGroup.views=Views
|
||||
SearchGroup.builds=Builds
|
||||
SearchGroup.nodes=Nodes
|
||||
SearchGroup.other=Other
|
||||
SearchGroup.people=People
|
||||
SearchGroup.projects=Projects
|
||||
|
|
Loading…
Reference in New Issue