Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getAttributes (0.96 sec)

  1. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeImpl.java

                for (Map.Entry<String, String> attr : recessive.getAttributes().entrySet()) {
                    String key = attr.getKey();
                    if (isEmpty(attrs.get(key))) {
                        if (attrs == dominant.getAttributes()) {
                            attrs = new HashMap<>(attrs);
                        }
                        attrs.put(key, attr.getValue());
                    }
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeBuilderTest.java

            XmlNode node = XmlNodeStaxBuilder.build(xsr);
            assertEquals("doc", node.getName());
            assertEquals(1, node.getAttributes().size());
            assertEquals("foo:bar", node.getAttribute("xmlns"));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. maven-jline/src/main/java/org/apache/maven/jline/FastTerminal.java

        public boolean echo(boolean b) {
            return getTerminal().echo(b);
        }
    
        @Override
        public Attributes getAttributes() {
            return getTerminal().getAttributes();
        }
    
        @Override
        public void setAttributes(Attributes attributes) {
            getTerminal().setAttributes(attributes);
        }
    
        @Override
        public Size getSize() {
            return getTerminal().getSize();
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                    }
    
                    if (parameterConfiguration != null) {
                        Map<String, String> attributes = new HashMap<>(parameterConfiguration.getAttributes());
    
                        String attributeForImplementation = parameterConfiguration.getAttribute("implementation");
                        String parameterForImplementation = parameter.getImplementation();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            PlexusConfiguration[] ces = c.getChildren();
            if (ces != null) {
                for (PlexusConfiguration ce : ces) {
                    String value = ce.getValue(null);
                    String defaultValue = ce.getAttribute("default-value", null);
                    if (value != null || defaultValue != null) {
                        XmlNodeImpl e = new XmlNodeImpl(
                                ce.getName(),
                                value,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                    } else {
                        result = evaluator.evaluate(value);
                    }
                }
                if (null == result && configuration.getChildCount() == 0) {
                    value = configuration.getAttribute("default-value");
                    if (null != value && !value.isEmpty()) {
                        if (evaluator instanceof TypeAwareExpressionEvaluator) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

                if (paramConfig != null) {
                    parameter.setExpression(paramConfig.getValue(null));
                    parameter.setDefaultValue(paramConfig.getAttribute("default-value"));
                }
    
                parameters.add(parameter);
            }
    
            mojo.setParameters(parameters);
    
            // TODO this should not need to be handed off...
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    try {
                        value = expressionEvaluator.evaluate(expression);
    
                        if (value == null) {
                            value = config.getAttribute("default-value", null);
                        }
                    } catch (ExpressionEvaluationException e) {
                        String msg = "Error evaluating the expression '" + expression + "' for configuration value '"
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    session, session.getCurrentProject(), execution, new HashSet<>());
            assertNotNull(execution.getConfiguration());
            assertEquals("1.0", execution.getConfiguration().getChild("version").getAttribute("default-value"));
        }
    
        @Test
        void testExecutionListeners() throws Exception {
            final File pom = getProject("project-basic");
            final MavenSession session = createMavenSession(pom);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 20:57:17 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top