Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for setProperties (0.18 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java

                Artifact artifact = result.getArtifact();
                Map<String, String> props = new HashMap<>(artifact.getProperties());
                props.put(ArtifactProperties.DOWNLOAD_URL, downloadUrl);
                result.setArtifact(artifact.setProperties(props));
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RelocatedArtifact.java

        }
    
        @Override
        public Artifact setProperties(Map<String, String> properties) {
            Map<String, String> current = getProperties();
            if (current.equals(properties) || (properties == null && current.isEmpty())) {
                return this;
            }
            return new RelocatedArtifact(
                    artifact.setProperties(properties), groupId, artifactId, classifier, extension, version, message);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

            }
        }
    
        @Override
        public Map<String, String> getProperties() {
            return Collections.emptyMap();
        }
    
        @Override
        public org.eclipse.aether.metadata.Metadata setProperties(Map<String, String> properties) {
            return this;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

                }
            } else {
                return Nature.RELEASE;
            }
        }
    
        public Map<String, String> getProperties() {
            return Collections.emptyMap();
        }
    
        @Override
        public Metadata setProperties(Map<String, String> properties) {
            return this;
        }
    
        @SuppressWarnings("deprecation")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

            final Method m = ClassUtil.getMethod(getClass(), "testGetProperties");
            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
            assertThat((String) props.get("aaa"), is("123"));
            assertThat((String) props.get("bbb"), is("3"));
            assertThat(props.get("ccc"), is(nullValue()));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/FatArtifactTraverser.java

     * artifacts that have the property {@link MavenArtifactProperties#INCLUDES_DEPENDENCIES} set to
     * {@code true}.
     *
     * @see org.eclipse.aether.artifact.Artifact#getProperties()
     * @see MavenArtifactProperties
     * @since 4.0.0
     */
    public final class FatArtifactTraverser implements DependencyTraverser {
    
        public FatArtifactTraverser() {}
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

        List<String> getInactiveProfileIds();
    
        /**
         * Gets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The execution properties, never {@code null}.
         */
        Map<String, String> getSystemProperties();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Activation defaultActivation = new Activation();
    
            defaultActivation.setActiveByDefault(true);
    
            defaultActivated.setActivation(defaultActivation);
    
            Properties props = System.getProperties();
    
            ProfileManager profileManager = new DefaultProfileManager(getContainer(), props);
    
            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/type/DefaultType.java

            return this.includesDependencies;
        }
    
        public Set<PathType> getPathTypes() {
            return this.pathTypes;
        }
    
        @Override
        public Map<String, String> getProperties() {
            return properties;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            HashMap<String, String> result = new HashMap<>(getSystemProperties());
            if (project != null) {
                result.putAll(project.getModel().getProperties());
            }
            result.putAll(getUserProperties());
            return result;
        }
    
        @Nonnull
        @Override
        public Version getMavenVersion() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top