Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for chaining (0.05 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

             */
            public SearchResultBuilder addDocument(final Map<String, Object> doc) {
                documentList.add(doc);
                return this;
            }
    
            /**
             * Sets the facet response containing aggregated facet information.
             *
             * @param facetResponse The facet response
             * @return This builder instance for method chaining
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PythonJob.java

         * @return this PythonJob instance for method chaining
         */
        public PythonJob filename(final String filename) {
            this.filename = filename;
            return this;
        }
    
        /**
         * Adds a single command-line argument to pass to the Python script.
         *
         * @param value the argument value to add
         * @return this PythonJob instance for method chaining
         */
        public PythonJob arg(final String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

         *
         * @return create cancel request
         */
        CommonServerMessageBlockRequest createCancel();
    
        /**
         * Checks if chaining is allowed with the next request.
         *
         * @param next the next request in the chain
         * @return whether to allow chaining
         */
        boolean allowChain(CommonServerMessageBlockRequest next);
    
        /**
         * Sets the tree ID.
         *
         * @param t the tree ID to set
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

            return type;
        }
    
        /**
         * Sets the highlighting type with fluent interface.
         *
         * @param type the highlighting type to set
         * @return this HighlightInfo instance for method chaining
         */
        public HighlightInfo type(final String type) {
            this.type = type;
            return this;
        }
    
        /**
         * Gets the fragment size.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

    import org.codelibs.fess.crawler.entity.RequestData.Method;
    
    /**
     * Builder class for creating RequestData objects using a fluent interface.
     * This class provides a simple way to construct RequestData objects with method chaining.
     *
     * <p>Usage example:</p>
     * <pre>
     * RequestData request = RequestDataBuilder.newRequestData()
     *     .method("GET")
     *     .url("https://example.com")
     *     .weight(1.0f)
     *     .build();
     * </pre>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbException.java

         * @param value the context value
         * @return this exception for chaining
         */
        public SmbException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Sets a recovery hint for the error
         *
         * @param hint the recovery hint
         * @return this exception for chaining
         */
        public SmbException withRecoveryHint(String hint) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/CommonServerMessageBlockResponse.java

    /**
     * Interface for SMB response messages received from server.
     * Extends the common SMB message block with response-specific functionality including
     * asynchronous response handling and response chaining capabilities.
     *
     * @author mbechler
     */
    public interface CommonServerMessageBlockResponse extends CommonServerMessageBlock, Response {
    
        /**
         * Checks if this is an asynchronous response.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

        }
    
        /**
         * Sets the expiration time for thumbnails.
         *
         * @param expiry the expiration time in milliseconds (must be positive)
         * @return this PurgeThumbnailJob instance for method chaining
         */
        public PurgeThumbnailJob expiry(final long expiry) {
            if (expiry > 0) {
                this.expiry = expiry;
            }
            return this;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top