Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 327 for getId (0.05 seconds)

  1. src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java

        }
    
        public boolean isRunning() {
            return ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).map(LaScheduledJob::isExecutingNow).orElse(false);
        }
    
        public void start() {
            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                job.launchNow();
            }).orElse(() -> {
                throw new JobNotFoundException(this);
            });
    Created: 2026-03-31 13:07
    - Last Modified: 2026-03-28 11:55
    - 3.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

        }
    
        @Test
        public void test_multipleInstances() {
            // Test that different instances have independent ID values
            TestDictionaryItem item1 = new TestDictionaryItem();
            TestDictionaryItem item2 = new TestDictionaryItem();
    
            item1.id = 100L;
            item2.id = 200L;
    
            assertEquals(100L, item1.getId());
            assertEquals(200L, item2.getId());
    
    Created: 2026-03-31 13:07
    - Last Modified: 2026-01-14 14:29
    - 4.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacSidAttributesTest.java

            assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
            assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-14 05:31
    - 1.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                    + version;
        }
    
        private static String getId(Artifact artifact) {
            return getId(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getExtension(),
                    artifact.getClassifier(),
                    artifact.getBaseVersion());
        }
    
        private static String getId(ClassRealmConstituent constituent) {
            return getId(
    Created: 2026-04-05 03:35
    - Last Modified: 2025-06-06 14:28
    - 13.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertEquals("01T", crawlingConfigHelper.getDefaultConfig(ConfigType.WEB).get().getId());
            assertEquals("11T", crawlingConfigHelper.getDefaultConfig(ConfigType.FILE).get().getId());
            assertEquals("21T", crawlingConfigHelper.getDefaultConfig(ConfigType.DATA).get().getId());
        }
    
        @Test
        public void test_getId() {
            // Test getId method through reflection since it's protected
            try {
    Created: 2026-03-31 13:07
    - Last Modified: 2026-03-13 23:01
    - 35.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacGroupTest.java

            assertEquals(mockSid, pacGroup.getId(), "The SID should be correctly set in the constructor.");
            assertEquals(attributes, pacGroup.getAttributes(), "The attributes should be correctly set in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-14 05:31
    - 1.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        public void test_getId() {
            // Test getId method from parent class
            StopwordsItem item1 = new StopwordsItem(0, "word1");
            assertEquals(0, item1.getId());
    
            StopwordsItem item2 = new StopwordsItem(999, "word2");
            assertEquals(999, item2.getId());
    
            StopwordsItem item3 = new StopwordsItem(-1, "word3");
            assertEquals(-1, item3.getId());
        }
    
        @Test
    Created: 2026-03-31 13:07
    - Last Modified: 2026-03-13 23:01
    - 11.4K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockDetailRenderer.java

            Document document = parent.getOwnerDocument();
    
            Element section = document.createElement("section");
            parent.appendChild(section);
            section.setAttribute("id", blockDoc.getId());
            section.setAttribute("role", "detail");
    
            Element title = document.createElement("title");
            section.appendChild(title);
            Element literal = document.createElement("literal");
    Created: 2026-04-01 11:36
    - Last Modified: 2020-12-09 08:14
    - 3.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

                    }
                }
            }
        }
    
        @Override
        public String getConfigId() {
            return ConfigType.WEB.getConfigId(getId());
        }
    
        @Override
        public CrawlerClientFactory initializeClientFactory(final Supplier<CrawlerClientFactory> creator) {
            if (crawlerClientFactory != null) {
                return crawlerClientFactory;
    Created: 2026-03-31 13:07
    - Last Modified: 2026-01-10 01:38
    - 10.3K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            List active = profileManager.getActiveProfiles();
    
            assertNotNull(active);
            assertEquals(1, active.size());
            assertEquals("defaultActivated", ((Profile) active.get(0)).getId());
        }
    
        @Test
        void testShouldNotActivateDefaultProfile() throws Exception {
            Profile syspropActivated = new Profile();
            syspropActivated.setId("syspropActivated");
    
    Created: 2026-04-05 03:35
    - Last Modified: 2025-03-30 23:08
    - 6.4K bytes
    - Click Count (0)
Back to Top