Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getValue (4.61 sec)

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

                                        public String getValue() {
                                            return (String) e.getValue();
                                        }
    
                                        @Override
                                        public String setValue(String value) {
                                            return (String) e.setValue(value);
                                        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                                String groupId = root.getChild("groupId").getValue();
                                String artifactId = root.getChild("artifactId").getValue();
                                String goalPrefix = root.getChild("goalPrefix").getValue();
                                String name = root.getChild("name").getValue();
                                return new PluginInfo(groupId, artifactId, goalPrefix, name);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ProfileActivationFilePathInterpolator.java

            Path basedir = context.getProjectDirectory();
    
            if (basedir != null) {
                interpolator.addValueSource(new AbstractValueSource(false) {
                    @Override
                    public Object getValue(String expression) {
                        if ("basedir".equals(expression) || "project.basedir".equals(expression)) {
                            return basedir.toAbsolutePath().toString();
                        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

            String sysValue = context.getUserProperties().get(name);
            if (sysValue == null) {
                sysValue = context.getSystemProperties().get(name);
            }
    
            String propValue = property.getValue();
            if (propValue != null && !propValue.isEmpty()) {
                boolean reverseValue = false;
                if (propValue.startsWith("!")) {
                    reverseValue = true;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

            Map.Entry<Artifact, Path> res = session.resolveArtifact(coord);
            assertNotNull(res);
            assertNotNull(res.getValue());
            assertTrue(Files.exists(res.getValue()));
    
            Node node = session.collectDependencies(session.createDependencyCoordinate(coord));
            assertNotNull(node);
            assertEquals(8, node.getChildren().size());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

            assertEquals("local-profile-prop-value", pom.getValue("properties/local-profile-prop"));
        }
    
        /**
         * MNG-4107
         */
        @Test
        void testPomAndSettingsInterpolation() throws Exception {
            PomTestWrapper pom = buildPom("test-pom-and-settings-interpolation");
            assertEquals("applied", pom.getValue("properties/settingsProfile"));
            assertEquals("applied", pom.getValue("properties/pomProfile"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/Task.java

     * @since 4.0.0
     */
    public abstract class Task {
    
        private final String value;
    
        public Task(String value) {
            this.value = Objects.requireNonNull(value, "value");
        }
    
        public String getValue() {
            return value;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (!(o instanceof Task)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nonnull
        String getName();
    
        @Nonnull
        String getNamespaceUri();
    
        @Nonnull
        String getPrefix();
    
        @Nullable
        String getValue();
    
        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
        String getAttribute(@Nonnull String name);
    
        @Nonnull
        List<XmlNode> getChildren();
    
        @Nullable
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Nov 27 23:11:34 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

            for (Map.Entry<String, Map<Integer, List<MojoExecution>>> entry : mappings.entrySet()) {
                List<MojoExecution> mojoExecutions = new ArrayList<>();
    
                for (List<MojoExecution> executions : entry.getValue().values()) {
                    mojoExecutions.addAll(executions);
                }
    
                lifecycleMappings.put(entry.getKey(), mojoExecutions);
            }
    
            return lifecycleMappings;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top