Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for getOption (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/dcerpc/DcerpcBinding.java

            }
            if (this.options == null) {
                this.options = new HashMap<>();
            }
            this.options.put(key, val);
        }
    
        Object getOption(final String key) {
            if (key.equals("endpoint")) {
                return this.endpoint;
            }
            if (this.options != null) {
                return this.options.get(key);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            dcerpcBinding.setOption("connect", "80");
            assertEquals("80", dcerpcBinding.getOption("connect"), "Should return the set option value.");
        }
    
        @Test
        void testGetOptionNonExistent() {
            assertNull(dcerpcBinding.getOption("nonExistent"), "Should return null for a non-existent option.");
        }
    
        @Test
        void testToStringWithoutOptionsAndEndpoint() {
    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)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            String params = "";
            final String server = (String) binding.getOption("server");
            if (server != null) {
                params += "&server=" + server;
            }
            final String address = (String) binding.getOption("address");
            if (address != null) {
                params += "&address=" + address;
            }
            if (params.length() > 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            String params = "", server, address;
            server = (String) binding.getOption("server");
            if (server != null) {
                params += "&server=" + server;
            }
            address = (String) binding.getOption("address");
            if (server != null) {
                params += "&address=" + address;
            }
            if (params.length() > 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. 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)
  6. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

        int action;
        int fileNameLength;
        String fileName;
    
        /**
         * Default constructor for decoding.
         */
        public FileNotifyInformationImpl() {
        }
    
        @Override
        public int getAction() {
            return this.action;
        }
    
        @Override
        public String getFileName() {
            return this.fileName;
        }
    
        /**
         * Gets the offset to the next entry.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

         */
        public final int getDeviceState() {
            return this.deviceState;
        }
    
        /**
         * Gets the action taken.
         *
         * @return the action
         */
        public final int getAction() {
            return this.action;
        }
    
        /**
         * Gets the server file identifier.
         *
         * @return the serverFid
         */
        public final int getServerFid() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/FileNotifyInformation.java

        int FILE_ACTION_REMOVED_BY_DELETE = 0x00000009;
    
        /**
         * Gets the action that triggered this notification.
         *
         * @return the action triggering this entry (FILE_ACTION_*)
         */
        int getAction();
    
        /**
         * Gets the name of the file affected by the action.
         *
         * @return the file name affected by the action
         */
        String getFileName();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. 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)
Back to Top