Searched defs:groups (Results 1 - 6 of 6) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/configuration/
H A DGroups.java168 // just list the groups
185 * @param list if true then it lists all available groups in configuration
222 * List groups given as a parameter.
225 * @param groups groups
227 private static void listGroups(PrintStream out, Set<Group> groups) { argument
228 treeTraverseGroups(groups, new Walker() {
241 * Finds groups which would match the project.
244 * @param groups set of groups
247 matchGroups(PrintStream out, Set<Group> groups, String match) argument
280 modifyGroup(Set<Group> groups, String groupname, String grouppattern, String parent) argument
307 deleteGroup(Set<Group> groups, String groupname) argument
317 treeTraverseGroups(Set<Group> groups, Walker f) argument
342 linearTraverseGroups(Set<Group> groups, Walker f) argument
351 insertToParent(Set<Group> groups, String parent, Group g) argument
369 updateGroup(Set<Group> groups, String groupname, String grouppattern) argument
[all...]
H A DProject.java50 * Set of groups which match this project.
52 private Set<Group> groups = new TreeSet<>(); field in class:Project
134 * Return groups where this project belongs
136 * @return set of groups|empty if none
139 return groups;
142 public void setGroups(Set<Group> groups) { argument
143 this.groups = groups;
153 this.groups.add(group);
H A DConfiguration.java87 private Set<Group> groups; field in class:Configuration
469 if (!groups.add(group)) {
477 return groups;
480 public void setGroups(Set<Group> groups) { argument
481 this.groups = groups;
987 // Removes all non root groups.
989 // contains only root groups. Subgroups are discovered again
991 conf.groups.removeIf(new Predicate<Group>() {
1002 LinkedList<Group> stack = new LinkedList<>(conf.groups);
[all...]
H A DRuntimeEnvironment.java402 * Do we have groups?
404 * @return true if we have groups
411 * Get all of the groups
413 * @return a set containing all of the groups (may be null)
420 * Set the list of the groups
422 * @param groups the set of groups to use
424 public void setGroups(Set<Group> groups) { argument
425 populateGroups(groups, getProjects());
426 threadConfig.get().setGroups(groups);
1166 populateGroups(Set<Group> groups, List<Project> projects) argument
[all...]
/opengrok/test/org/opensolaris/opengrok/web/
H A DProjectHelperTestBase.java50 protected static Set<Group> groups; field in class:ProjectHelperTestBase
207 groups = env.getGroups();
249 env.setGroups(groups);
285 Assert.assertEquals("Should contain 4 groups", 4, env.getGroups().size());
/opengrok/src/org/opensolaris/opengrok/web/
H A DProjectHelper.java39 * Preprocessing of projects, repositories and groups for the UI
60 * Set of groups
62 private final Set<Group> groups; field in class:ProjectHelper
82 groups = new TreeSet<>(cfg.getEnv().getGroups());
125 groups.addAll(cfg.getEnv().getGroups());
127 // filterProjects only groups which match project's description
128 Set<Group> copy = new TreeSet<>(groups);
171 * Filters set of groups based on the authorizator options.
173 * @param p set of groups
174 * @return filtered set of groups
[all...]

Completed in 27 milliseconds