Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 131 for SetProperty (0.07 seconds)

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

        private FileCollection classpath;
        private final SetProperty<File> srcDirs;
        private final SetProperty<String> ignoreClasses;
        private final RegularFileProperty markerFile;
    
        @Inject
        public SplitPackagesAuditTask(WorkerExecutor workerExecutor, ObjectFactory objectFactory) {
            this.workerExecutor = workerExecutor;
            this.srcDirs = objectFactory.setProperty(File.class);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 14.2K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            String revision = request.getUserProperties().getProperty("revision");
            assertEquals("8.2.0", revision);
    
            assertEquals("bar ", request.getUserProperties().getProperty("foo"));
            assertEquals("bar two", request.getUserProperties().getProperty("foo2"));
            assertEquals("Apache Maven", request.getUserProperties().getProperty("label"));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            return getProperties().get(key);
        }
    
        @Override
        public String getProperty(final String key, final String defaultValue) {
            return getProperties().getProperty(key, defaultValue);
        }
    
        @Override
        public String getProperty(final String key) {
            return getProperties().getProperty(key);
        }
    
        @Override
        public int hashCode() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * {@return an immutable map of the project properties}.
         *
         * @param project the project for which to get the properties
         *
         * @see #setProperty(Project, String, String)
         */
        @Nonnull
        Map<String, String> getProperties(@Nonnull Project project);
    
        /**
         * Set a given project property. Properties set through this method are only valid
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

    public static final String RDMA_CREDITS = "jcifs.smb.client.rdmaCredits";
    
    public boolean isUseRDMA() {
        String value = getProperty(USE_RDMA, "auto");
        return "true".equals(value) || ("auto".equals(value) && isRdmaAvailable());
    }
    
    public String getRdmaProvider() {
        return getProperty(RDMA_PROVIDER, "auto");  // auto, disni, jxio, tcp
    }
    
    public int getRdmaReadWriteThreshold() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Override
        public void setProperty(@Nonnull Project project, @Nonnull String key, String value) {
            Properties properties = getMavenProject(project).getProperties();
            if (value == null) {
                properties.remove(key);
            } else {
                properties.setProperty(key, value);
            }
        }
    
        @Override
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/Config.java

            String ver, pkgs;
    
            ver = System.getProperty("java.version");
            if (ver.startsWith("1.1.") || ver.startsWith("1.2.")) {
                throw new RuntimeException("jcifs.smb1-0.7.0b4+ requires Java 1.3 or above. You are running " + ver);
            }
            pkgs = System.getProperty("java.protocol.handler.pkgs");
            if (pkgs == null) {
                System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. docs/smb3-features/02-persistent-handles-design.md

    }
    
    public int getHandleReconnectRetries() {
        return getIntProperty(HANDLE_RECONNECT_RETRIES, 3);
    }
    
    public String getHandleStateDirectory() {
        return getProperty(HANDLE_STATE_DIR, 
            System.getProperty("user.home") + "/.jcifs/handles");
    }
    ```
    
    ## 8. Testing Strategy
    
    ### 8.1 Unit Tests
    ```java
    package jcifs.tests.smb3;
    
    import org.junit.Test;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

                }
            }
        }
    
        /**
         * Sets a property in the bean using cached lookups for improved performance.
         */
        public void setProperty(Object bean, String propertyName, Class<?> valueType, PlexusConfiguration configuration)
                throws ComponentConfigurationException {
    
            Class<?> beanType = bean.getClass();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. docs/smb3-features/06-witness-protocol-design.md

    }
    
    @Test
    public void testWitnessServiceDiscovery() throws Exception {
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useWitness", "true");
        context.getConfig().setProperty("jcifs.smb.client.witnessServiceDiscovery", "true");
        
        SmbSession session = new SmbSession(context, transport);
        session.initializeWitnessSupport();
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
Back to Top