Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for setOptions (0.07 seconds)

  1. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            assertEquals("80", dcerpcBinding.getOptions().get("connect"), "Option value should be set correctly.");
        }
    
        @Test
        void testGetOptionEndpoint() throws DcerpcException {
            String endpoint = "\\pipe\\srvsvc";
            dcerpcBinding.setOption("endpoint", endpoint);
            assertEquals(endpoint, dcerpcBinding.getOption("endpoint"), "Should return the set endpoint.");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/dcerpc/DcerpcBinding.java

         */
        public String getProto() {
            return this.proto;
        }
    
        /**
         * Get the options for this binding.
         * @return the options
         */
        public Map<String, Object> getOptions() {
            return this.options;
        }
    
        /**
         * Get the server for this binding.
         * @return the server
         */
        public String getServer() {
            return this.server;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                return s1.compareToIgnoreCase(s2);
            }
        }
    
        private static class CLIManagerExtension extends CLIManager {
            public Collection<Option> getOptions() {
                List<Option> optList = new ArrayList<>(options.getOptions());
                optList.sort(new OptionComparator());
                return optList;
            }
        }
    
        String getOptionsAsHtml() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            assertEquals(LoginModuleControlFlag.REQUIRED, e.getControlFlag(), "Control flag should be REQUIRED");
            assertNotNull(e.getOptions(), "Options map should not be null");
            assertTrue(e.getOptions().isEmpty(), "Default options should be empty");
        }
    
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", "svc/******@****.***" })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java

            java.setTargetCompatibility(BuildParams.getMinimumRuntimeVersion());
    
            project.getTasks().withType(JavaCompile.class).configureEach(compileTask -> {
                CompileOptions compileOptions = compileTask.getOptions();
                /*
                 * -path because gradle will send in paths that don't always exist.
                 * -missing because we have tons of missing @returns and @param.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 8K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaPlugin.java

                 * that the default will change to html5 in the future.
                 */
                CoreJavadocOptions javadocOptions = (CoreJavadocOptions) javadoc.getOptions();
                javadocOptions.addBooleanOption("html5", true);
            });
    
            TaskProvider<Javadoc> javadoc = project.getTasks().withType(Javadoc.class).named("javadoc");
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 7.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        /**
         * Gets the upgrade options from the context.
         *
         * @param context the upgrade context
         * @return the upgrade options
         */
        protected final UpgradeOptions getOptions(UpgradeContext context) {
            return context.options();
        }
    
        /**
         * Logs a summary of the upgrade results.
         *
         * @param context the upgrade context
         * @param result the upgrade result
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        UUID uuid = null;
        int major;
        int minor;
    
        DcerpcBinding(final String proto, final String server) {
            this.proto = proto;
            this.server = server;
        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                endpoint = val.toString();
                final String lep = endpoint.toLowerCase();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top