- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getParameters (0.15 sec)
-
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java
param1.setName("param1"); param1.setDefaultValue("value1"); mojoDescriptor.addParameter(param1); assertEquals(1, mojoDescriptor.getParameters().size()); assertEquals( mojoDescriptor.getParameters().size(), mojoDescriptor.getParameterMap().size()); Parameter param2 = new Parameter(); param2.setName("param2");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
assertEquals("2.2", md.getSince()); assertEquals("deprecated-mojo", md.getDeprecated()); assertEquals(1, md.getRequirements().size()); assertEquals(1, md.getParameters().size()); assertNotNull(md.getMojoConfiguration()); assertEquals(1, md.getMojoConfiguration().getChildCount()); PlexusConfiguration pc = md.getMojoConfiguration().getChild(0);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
this.setSince(md.getSince()); this.setThreadSafe(true); this.setImplementation(md.getImplementation()); try { this.setParameters(md.getParameters().stream().map(Parameter::new).collect(Collectors.toList())); } catch (DuplicateParameterException e) { throw new IllegalArgumentException(e); } this.mojoDescriptorV4 = md;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 21.7K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
parameter.setDefaultValue(paramConfig.getAttribute("default-value")); } parameters.add(parameter); } mojo.setParameters(parameters); // TODO this should not need to be handed off... // ---------------------------------------------------------------------- // Requirements
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0)