Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Sethostname (6.14 sec)

  1. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                            } else {
                                postcard.addTo(fessConfig.getMailFromAddress());
                                postcard.dryrun();
                            }
                            postcard.setHostname(systemHelper.getHostname());
                            postcard.setClustername(ping.getClusterName());
                            postcard.setClusterstatus(ping.getClusterStatus());
                        });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FileAuthenticationDbm.java

                    (et, vl) -> ((FileAuthentication) et).setFileConfigId(DfTypeUtil.toString(vl)), "fileConfigId");
            setupEpg(_epgMap, et -> ((FileAuthentication) et).getHostname(),
                    (et, vl) -> ((FileAuthentication) et).setHostname(DfTypeUtil.toString(vl)), "hostname");
            setupEpg(_epgMap, et -> ((FileAuthentication) et).getParameters(),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/FessBoot.java

                        connector.setProperty("SSLEnabled", "true");
                        final SSLHostConfig sslHostConfig = new SSLHostConfig();
                        sslHostConfig.setHostName("_default_");
                        final SSLHostConfigCertificate certificate =
                                new SSLHostConfigCertificate(sslHostConfig, SSLHostConfigCertificate.Type.UNDEFINED);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
    
                String hostname = fessConfig.getMailHostname();
                if (StringUtil.isBlank(hostname)) {
                    hostname = ComponentUtil.getSystemHelper().getHostname();
                }
                dataMap.put("hostname", hostname);
    
                logger.debug("\ninfoMap: {}\ndataMap: {}", infoMap, dataMap);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/UniAddressTest.java

                when(mockInetAddress.getHostName()).thenReturn("inet-host");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                assertEquals("inet-host", uniAddress.getHostName());
            }
    
            @Test
            void shouldReturnNbtAddressHostnameWhenWrappedIsNbtAddress() {
                when(mockNbtAddress.getHostName()).thenReturn("nbt-host");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

                @Override
                public boolean isChangedClusterState(int status) {
                    // State has changed
                    return true;
                }
    
                @Override
                public String getHostname() {
                    return "test-hostname";
                }
            };
    
            FessConfig fessConfig = createTestFessConfig();
    
            // Register components
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/AddressTest.java

        }
    
        @Test
        @DisplayName("getHostName should return valid hostname or address")
        void testGetHostNameContract() {
            // Given
            String expectedHostName = "server.example.com";
            when(mockAddress.getHostName()).thenReturn(expectedHostName);
    
            // When
            String hostName = mockAddress.getHostName();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/UniAddress.java

         *
         * @return the hostname associated with the address
         */
        @Override
        public String getHostName() {
            if (this.addr instanceof NbtAddress) {
                return ((NbtAddress) this.addr).getHostName();
            }
            return ((InetAddress) this.addr).getHostName();
        }
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         *
         * @return the ip address
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/UniAddressTest.java

        }
    
        @Test
        void getHostNameDelegatesToWrappedInetAddress() {
            InetAddress dummy = mock(InetAddress.class);
            when(dummy.getHostName()).thenReturn("host.example.com");
            UniAddress ua = new UniAddress(dummy);
            assertEquals("host.example.com", ua.getHostName(), "should forward hostName to underlying InetAddress");
        }
    
        @Test
        void getHostAddressDelegatesToWrappedInetAddress() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/NameServiceClientTest.java

            verify(nameServiceClient, times(1)).getNodeStatus(nbtAddress);
        }
    
        @Test
        void testGetAllByName() throws UnknownHostException {
            // Arrange
            String hostname = "testHostname";
            boolean possibleNTDomainOrWorkgroup = true;
            Address[] expectedAddresses = { mock(Address.class) };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top