Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for setDefaultValue (0.07 seconds)

  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(),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

        }
    
        /**
         * Sets the default file type value to use when MIME type is not found.
         *
         * @param defaultValue the new default file type value
         */
        public void setDefaultValue(final String defaultValue) {
            this.defaultValue = defaultValue;
        }
    
        /**
         * Gets all distinct file types currently configured in the mappings.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (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());
        }
    
        // ----------------------------------------------------------------------
        //
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        public void test_setDefaultValue() {
            fileTypeHelper.setDefaultValue("unknown");
            assertEquals("unknown", fileTypeHelper.getDefaultValue());
    
            // Test that get() returns new default value
            assertEquals("unknown", fileTypeHelper.get("non/existent"));
        }
    
        @Test
        public void test_setDefaultValue_withNull() {
            fileTypeHelper.setDefaultValue(null);
            assertNull(fileTypeHelper.getDefaultValue());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  5. 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);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top