Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 297 for GetID (0.02 seconds)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        public void test_getId() {
            // Test getId method inherited from DictionaryItem
            ProtwordsItem item1 = new ProtwordsItem(0, "word");
            assertEquals(0, item1.getId());
    
            ProtwordsItem item2 = new ProtwordsItem(999, "word");
            assertEquals(999, item2.getId());
    
            ProtwordsItem item3 = new ProtwordsItem(-1, "word");
            assertEquals(-1, item3.getId());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. 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: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            }
            return result;
        }
    
        public static String getLayout(ArtifactRepository repo) {
            try {
                return repo.getLayout().getId();
            } catch (LinkageError e) {
                /*
                 * NOTE: getId() was added in 3.x and is as such not implemented by plugins compiled against 2.x APIs.
                 */
                String className = repo.getLayout().getClass().getSimpleName();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

                return "";
            } else if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel().getId();
            } else if (result.getRawModel() != null) {
                return result.getRawModel().getId();
            } else if (result.getFileModel() != null) {
                return result.getFileModel().getId();
            } else {
                return "";
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        /**
         * Get the ID of this lifecycle, for identification in the mojo
         * descriptor.
         *
         * @return String
         */
        public String getId() {
            return this.id;
        } // -- String getId()
    
        /**
         * Method getPhases.
         *
         * @return List
         */
        public java.util.List<Phase> getPhases() {
            if (this.phases == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

    public class FlatRepositoryLayout implements ArtifactRepositoryLayout {
    
        private static final char ARTIFACT_SEPARATOR = '-';
    
        private static final char GROUP_SEPARATOR = '.';
    
        @Override
        public String getId() {
            return "flat";
        }
    
        @Override
        public String pathOf(Artifact artifact) {
            ArtifactHandler artifactHandler = artifact.getArtifactHandler();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            if (this == object) {
                return true;
            }
    
            return object instanceof PluginDescriptor pluginDescriptor && getId().equals(pluginDescriptor.getId());
        }
    
        @Override
        public int hashCode() {
            return 10 + getId().hashCode();
        }
    
        public MojoDescriptor getMojo(String goal) {
            if (getMojos() == null) {
                return null; // no mojo in this POM
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

        /**
         * Field id
         */
        private String id;
    
        /**
         * Field phases
         */
        private Map<String, LifecyclePhase> lifecyclePhases;
    
        /**
         * Method getId
         */
        public String getId() {
            return this.id;
        }
    
        /**
         * Method getLifecyclePhases
         */
        public Map<String, LifecyclePhase> getLifecyclePhases() {
            return this.lifecyclePhases;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            return releases;
        }
    
        @Override
        public String getKey() {
            return getId();
        }
    
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder(256);
    
            sb.append("      id: ").append(getId()).append(LS);
            sb.append("      url: ").append(getUrl()).append(LS);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Phase.java

        /**
         * Get the ID of this phase, e.g.,
         * <code>generate-sources</code>.
         *
         * @return String
         */
        public String getId() {
            return this.id;
        } // -- String getId()
    
        /**
         * Method removeExecution.
         *
         * @param execution a execution object.
         */
        public void removeExecution(Execution execution) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
Back to Top