Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 265 for setType (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

                    if (!metadata.getVersion().isEmpty()) {
                        path.append(metadata.getVersion()).append('/');
                    }
                }
            }
    
            path.append(insertRepositoryKey(metadata.getType(), repositoryKey));
    
            return path.toString();
        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

                    if (!metadata.getVersion().isEmpty()) {
                        path.append(metadata.getVersion()).append('/');
                    }
                }
            }
    
            path.append(insertRepositoryKey(metadata.getType(), repositoryKey));
    
            return path.toString();
        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

        private String type = "jar";
    
        public TypeArtifactFilter(String type) {
            this.type = type;
        }
    
        @Override
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + type.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/WorkspaceRepository.java

     */
    public interface WorkspaceRepository extends Repository {
    
        /**
         * {@return the type of the repository, i.e. "workspace"}
         */
        @Nonnull
        @Override
        default String getType() {
            return "workspace";
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java

         */
        String getArtifactId();
    
        /**
         * Gets the type of the constituent's artifact.
         *
         * @return The type, never {@code null}.
         */
        String getType();
    
        /**
         * Gets the classifier of the constituent's artifact.
         *
         * @return The classifier or an empty string, never {@code null}.
         */
        String getClassifier();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessClient.java

                WitnessNotification notification = new WitnessNotification();
    
                // Set event type based on message type
                WitnessEventType eventType = convertMessageTypeToEventType(message.getType());
                notification.setEventType(eventType);
                notification.setTimestamp(message.getTimestamp());
    
                // Set resource name based on message content
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    if (field.getType() == DependencyResolverResult.class) {
                        result = res;
                    } else if (field.getType() == Node.class) {
                        result = res.getRoot();
                    } else if (field.getType() == List.class && field.getGenericType() instanceof ParameterizedType pt) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmRequest.java

            this.parent = parent;
            this.parentImports = parentImports;
            this.foreignImports = foreignImports;
            this.constituents = constituents;
        }
    
        @Override
        public RealmType getType() {
            return type;
        }
    
        @Override
        public ClassLoader getParent() {
            return parent;
        }
    
        @Override
        public List<String> getImports() {
            return getParentImports();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/BlockDoc.groovy

            return blockMethod.id
        }
    
        String getName() {
            return blockMethod.name
        }
    
        boolean isMultiValued() {
            return multiValued
        }
    
        TypeMetaData getType() {
            return type
        }
    
        Element getDescription() {
            return blockMethod.description;
        }
    
        List<Element> getComment() {
            return blockMethod.comment
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/https/HandlerTest.java

                assertTrue(Modifier.isStatic(field.getModifiers()));
                assertTrue(Modifier.isFinal(field.getModifiers()));
                assertEquals(int.class, field.getType());
            }
        }
    
        @Nested
        @DisplayName("Deprecation Tests")
        class DeprecationTests {
    
            @Test
            @DisplayName("Handler class should be deprecated")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top