Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for chaining (0.04 sec)

  1. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        }
    
        /**
         * Sets the search request parameters for this builder.
         * This method follows the builder pattern for method chaining.
         *
         * @param params the search request parameters to use
         * @return this QueryStringBuilder instance for method chaining
         */
        public QueryStringBuilder params(final SearchRequestParams params) {
            this.params = params;
            return this;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/ExecJob.java

         * @return this ExecJob instance for method chaining
         */
        public ExecJob jobExecutor(final JobExecutor jobExecutor) {
            this.jobExecutor = jobExecutor;
            return this;
        }
    
        /**
         * Sets the session ID for this job execution.
         *
         * @param sessionId the unique session identifier
         * @return this ExecJob instance for method chaining
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry);
    
            // Test method chaining
            assertSame(purgeThumbnailJob, result);
            // Test value was set
            assertEquals(newExpiry, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with zero value (should not change)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

        return from(CacheBuilderSpec.parse(spec));
      }
    
      /**
       * Enables lenient parsing. Useful for tests and spec parsing.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       */
      @GwtIncompatible // To be supported
      @CanIgnoreReturnValue
      CacheBuilder<K, V> lenientParsing() {
        strictParsing = false;
        return this;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertEquals(innerMessage, exception.getCause().getMessage());
        }
    
        public void test_multiLevelExceptionChaining() {
            // Test multi-level exception chaining
            Exception level1 = new Exception("Level 1");
            RuntimeException level2 = new RuntimeException("Level 2", level1);
            StorageException level3 = new StorageException("Level 3", level2);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining
            Throwable rootCause = new IllegalArgumentException("Invalid argument");
            Throwable intermediateCause = new RuntimeException("Processing failed", rootCause);
            String message = "Plugin operation failed";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            } catch (Exception e) {
                fail("Should have caught as FessSystemException");
            }
        }
    
        public void test_exceptionChaining() {
            // Test that the exception can be used in exception chaining
            String username = "testuser";
            FessUserNotFoundException originalException = new FessUserNotFoundException(username);
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

             * @return this builder for method chaining
             */
            public SearchConditionBuilder query(final String query) {
                this.query = query;
                return this;
            }
    
            /**
             * Sets the search request type.
             *
             * @param searchRequestType the search request type
             * @return this builder for method chaining
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            QueryBuilder queryBuilder = QueryBuilders.matchAllQuery();
            UpdateLabelJob returnedJob = updateLabelJob.query(queryBuilder);
    
            assertSame(updateLabelJob, returnedJob); // Method chaining
            assertEquals(queryBuilder, updateLabelJob.queryBuilder);
        }
    
        // Test query() method with null
        public void test_query_withNull() {
            updateLabelJob.query(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Stack trace should be empty
            assertEquals(0, exception.getStackTrace().length);
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining with multiple levels
            Exception rootCause = new Exception("Root cause");
            RuntimeException middleCause = new RuntimeException("Middle cause", rootCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top