Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getParameterMap (0.23 sec)

  1. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java

     */
    package org.apache.maven.plugin.descriptor;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MojoDescriptorTest {
        @Test
        void getParameterMap() throws DuplicateParameterException {
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            Parameter param1 = new Parameter();
            param1.setName("param1");
            param1.setDefaultValue("value1");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         * Any change to this map is NOT reflected on list and other way around!
         */
        public Map<String, Parameter> getParameterMap() {
            LinkedHashMap<String, Parameter> parameterMap = new LinkedHashMap<>();
    
            for (Parameter pd : parameters) {
                parameterMap.put(pd.getName(), pd);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top