Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setRoles (0.13 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

        {
            Contributor target = new Contributor();
            target.setRoles( Arrays.asList( "first", "second", "third" ) );
            Contributor source = new Contributor();
            source.setRoles( Arrays.asList( "first", "second", "third" ) );
    
            modelMerger.mergeContributor_Roles( target, source, true, null );
    
            assertThat( target.getRoles(), contains( "first", "second", "third" ) );
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            }
            mergedItem.languages = langList.toArray(new String[langList.size()]);
    
            final List<String> roleList = new ArrayList<>(item1.getRoles().length + item2.getRoles().length);
            Collections.addAll(roleList, item1.getRoles());
            for (final String role : item2.getRoles()) {
                if (!roleList.contains(role)) {
                    roleList.add(role);
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

            source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields());
            source.put(ELEVATE_WORD_TAGS, elevateWord.getTags());
            source.put(ELEVATE_WORD_ROLES, elevateWord.getRoles());
            source.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now()));
    
            arraySettings.addToArrayIndex(arraySettings.arraySettingsIndexName, arraySettings.settingsId,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("score", (item.getQueryFreq() + item.getDocFreq()) * item.getUserBoost());
            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
            secondLine.put("kinds", Arrays.toString(item.getKinds()));
            secondLine.put("@timestamp", item.getTimestamp());
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                }
    
                if (sb.length() > 0) {
                    final String[] langs = searchLog.getLanguages() == null ? new String[] {} : searchLog.getLanguages().split(",");
                    stream(searchLog.getRoles()).of(stream -> stream.forEach(role -> roles.add(role)));
                    if (fessConfig.isValidSearchLogPermissions(roles.toArray(new String[roles.size()]))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            for (PlexusConfiguration requirement : requirements) {
                ComponentRequirement cr = new ComponentRequirement();
    
                cr.setRole(requirement.getChild("role").getValue());
    
                cr.setRoleHint(requirement.getChild("role-hint").getValue());
    
                cr.setFieldName(requirement.getChild("field-name").getValue());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final ElevateWord normalized = new ElevateWord(normalizedWord, elevateWord.getBoost(), normalizedReadings, elevateWord.getFields(),
                    elevateWord.getTags(), elevateWord.getRoles());
            settings.elevateWord().add(normalized);
            if (apply) {
                return index(normalized.toSuggestItem());
            }
            return new SuggestIndexResponse(0, 0, null, 0);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        appendJson("referer", entity.getReferer(), buf).append(',');
                        appendJson("languages", entity.getLanguages(), buf).append(',');
                        appendJson("roles", entity.getRoles(), buf).append(',');
                        appendJson("user-agent", entity.getUserAgent(), buf).append(',');
                        appendJson("client-ip", entity.getClientIp(), buf).append(',');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            }
            return list.stream().map(p -> {
                final String key = p.getFirst();
                if (StringUtil.isEmpty(key) || userBean
                        .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
                                || stream(user.getGroups()).get(stream -> stream.anyMatch(s -> (GROUP_VALUE_PREFIX + s).equals(key))))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       *     Queue<Integer>} but not a {@code Queue<Object>}).
       * @since 8.0
       */
      public static final class Builder<B> {
        /*
         * TODO(kevinb): when the dust settles, see if we still need this or can
         * just default to DEFAULT_CAPACITY.
         */
        private static final int UNSET_EXPECTED_SIZE = -1;
    
        private final Comparator<B> comparator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top