Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 74 for getSources (0.07 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java

            }
        }
    
        /**
         * Returns the files this task will check
         */
        @InputFiles
        @SkipWhenEmpty
        public FileCollection getFiles() {
            return getSources().get()
                .stream()
                .map(sourceTree -> sourceTree.matching(filesFilter))
                .reduce(FileTree::plus)
                .orElse(projectLayout.files().getAsFileTree());
        }
    
        @TaskAction
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

                }
            }
            return tree == null ? null : tree.matching(patternFilterable -> patternFilterable.include("**/*-NOTICE.txt"));
        }
    
        @InputFiles
        @Optional
        public FileCollection getSources() {
            return sources;
        }
    
        public static void appendFile(File file, String name, String type, StringBuilder output) {
            String text = FileUtils.read(file, "UTF-8");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/entity/ChatMessage.java

         *
         * @return the list of sources
         */
        public List<ChatSource> getSources() {
            return sources;
        }
    
        /**
         * Sets the list of sources referenced in the message.
         *
         * @param sources the list of sources
         */
        public void setSources(final List<ChatSource> sources) {
            this.sources = sources;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                }
    
                writeJsonResponse(response, HttpServletResponse.SC_OK,
                        createSuccessResponse(result.getSessionId(), result.getMessage().getContent(), result.getMessage().getSources()));
    
            } catch (final Exception e) {
                logger.warn("[RAG] Failed to process chat request. message={}", e.getMessage(), e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            Parent parent = model.getParent();
            if (parent != null) {
                model = model.withParent(parent.withRelativePath(null));
            }
            var projectSources = project.getBuild().getDelegate().getSources();
            if (SourceQueries.usesModuleSourceHierarchy(projectSources)) {
                // Dependencies are dispatched by maven-jar-plugin in the POM generated for each module.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/ChatMessageTest.java

            message.addSource(source);
    
            assertEquals(1, message.getSources().size());
            assertEquals("Test Document", message.getSources().get(0).getTitle());
        }
    
        @Test
        public void test_addSourceWithNullSources() {
            final ChatMessage message = new ChatMessage();
            message.setSources(null);
    
            final ChatSource source = new ChatSource();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/chat/ChatClient.java

         * @return a string listing referenced document titles
         */
        protected String buildSourceTitlesContent(final ChatMessage msg, final int summaryMaxChars) {
            final List<ChatSource> sources = msg.getSources();
            if (sources == null || sources.isEmpty()) {
                return buildTruncatedContent(msg, summaryMaxChars);
            }
            final int maxSuffixLen = Math.max(0, summaryMaxChars / 4);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                            },
                            {
                                "type": "org.gradle.api.tasks.compile.JavaCompile",
                                "member": "Method org.gradle.api.tasks.compile.JavaCompile.getSources()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
                                    "Method has been removed"
                                ]
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                            },
                            {
                                "type": "org.gradle.api.tasks.compile.JavaCompile",
                                "member": "Method org.gradle.api.tasks.compile.JavaCompile.getSources()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
                                    "Method has been removed"
                                ]
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsPrecommitPlugin.java

            return project.getTasks()
                .register(
                    FILEPERMISSIONS_TASK_NAME,
                    FilePermissionsTask.class,
                    filePermissionsTask -> filePermissionsTask.getSources()
                        .addAll(
                            providerFactory.provider(
                                () -> GradleUtils.getJavaSourceSets(project).stream().map(s -> s.getAllSource()).collect(Collectors.toList())
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.7K bytes
    - Click Count (0)
Back to Top