Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setDefaultValue (0.07 sec)

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

        void getParameterMap() throws DuplicateParameterException {
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            Parameter param1 = new Parameter();
            param1.setName("param1");
            param1.setDefaultValue("value1");
            mojoDescriptor.addParameter(param1);
    
            assertEquals(1, mojoDescriptor.getParameters().size());
    
            assertEquals(
                    mojoDescriptor.getParameters().size(),
    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. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

                return defaultValue;
            }
            return filetype;
        }
    
        public String getDefaultValue() {
            return defaultValue;
        }
    
        public void setDefaultValue(final String defaultValue) {
            this.defaultValue = defaultValue;
        }
    
        public String[] getTypes() {
            return mimetypeMap.values().stream().distinct().toArray(n -> new String[n]);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

            this.setEditable(p.isEditable());
            this.setDescription(p.getDescription());
            this.setExpression(p.getExpression());
            this.setDeprecated(p.getDeprecated());
            this.setDefaultValue(p.getDefaultValue());
            this.setType(p.getType());
            this.setSince(p.getSince());
        }
    
        // ----------------------------------------------------------------------
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. compat/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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top