Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 35 for getOption (0.58 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @Test
        @DisplayName("Test default constructor creates instance with null values")
        void testDefaultConstructor() {
            assertNotNull(notifyInfo);
            assertEquals(0, notifyInfo.getAction());
            assertNull(notifyInfo.getFileName());
            assertEquals(0, notifyInfo.getNextEntryOffset());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes correctly")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. 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)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

         */
        @get:Input
        @get:Optional
        @get:Option(option = "fix", description = "When enabled, will write the correct computed runtimes back to the build files")
        abstract val fix: Property<Boolean>
    
        /**
         * If enabled, prints extra details describing why a target runtime declaration is invalid.
         */
        @get:Input
        @get:Optional
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, notifications.get(0).getAction());
    
            // Verify second notification
            assertEquals("file2.txt", notifications.get(1).getFileName());
            assertEquals(FileNotifyInformation.FILE_ACTION_REMOVED, notifications.get(1).getAction());
    
            // Verify third notification
            assertEquals("file3.txt", notifications.get(2).getFileName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                if (field.getOptions().isPresent()) {
                    // list options
                    ListPromptBuilder listPromptBuilder =
                            promptBuilder.createListPrompt().name(fieldKey).message(fieldDescription);
                    for (DispatcherMeta.Field option : field.getOptions().get()) {
                        listPromptBuilder
                                .newItem()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(3, notifications.size());
    
            assertEquals(1, notifications.get(0).getAction());
            assertEquals("file1", notifications.get(0).getFileName());
    
            assertEquals(2, notifications.get(1).getAction());
            assertEquals("file2", notifications.get(1).getFileName());
    
            assertEquals(3, notifications.get(2).getAction());
            assertEquals("file3", notifications.get(2).getFileName());
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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