Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for parameter (0.16 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

         */
        @Nonnull
        String defaultValue() default "";
    
        /**
         * is the parameter required?
         * @return <code>true</code> if the Mojo should fail when the parameter cannot be injected
         */
        boolean required() default false;
    
        /**
         * Specifies that this parameter cannot be configured directly by the user (as in the case of POM-specified
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

        }
    
        private Stream<String> getParameterNames(Parameter parameter) {
            if (parameter.getAlias() != null) {
                return Stream.of(parameter.getName(), parameter.getAlias());
            } else {
                return Stream.of(parameter.getName());
            }
        }
    
        private Set<String> getUnknownParameters(MojoExecution mojoExecution, Set<String> parameters) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                return;
            }
    
            List<Parameter> invalidParameters = new ArrayList<>();
    
            for (Parameter parameter : mojoDescriptor.getParameters()) {
                if (!parameter.isRequired()) {
                    continue;
                }
    
                Object value = null;
    
                PlexusConfiguration config = configuration.getChild(parameter.getName(), false);
                if (config != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * in which case there is one key per sub-directory.
         *
         * <p>This map may contain null values if the constructor was invoked with {@code resolve}
         * parameter set to false. This is more efficient when only the module existence needs to
         * be tested, and module descriptors are not needed.</p>
         *
         * @see #getModuleNames()
         */
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
         * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
         * line.
         *
         * @return The user properties, never {@code null}.
         */
        Map<String, String> getUserProperties();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
         * @return The calculated checksums, indexed by algorithms, never {@code null}.
         * @throws NullPointerException if passed in any parameter is {@code null}.
         */
        @Nonnull
        Map<ChecksumAlgorithm, String> calculate(@Nonnull byte[] data, @Nonnull Collection<ChecksumAlgorithm> algorithms);
    
        /**
         * Calculates checksums for specified data.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

     * An instance of this object is bound to the {@link org.apache.maven.api.di.MojoExecutionScoped}
     * and available as {@code mojoExecution} within {@link org.apache.maven.api.plugin.annotations.Parameter}
     * expressions.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface MojoExecution {
    
        @Nonnull
        Plugin getPlugin();
    
        @Nonnull
        PluginExecution getModel();
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * This annotation will mark your class as a Mojo (ie. goal in a Maven plugin).
     * The mojo can be annotated with {@code jakarta.inject.*} annotations.
     * The {@link Parameter} annotation can be added on fields to inject data
     * from the plugin configuration or from other components.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        @Nonnull
        SessionData getData();
    
        /**
         * Returns immutable user properties to use for interpolation. The user properties have been configured directly
         * by the user, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
         * @return the user properties, never {@code null}
         */
        @Nonnull
        Map<String, String> getUserProperties();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

                if (properties != null) {
                    // We will attempt to get nab a property as a way to specify a parameter
                    // to a plugin. My particular case here is allowing the surefire plugin
                    // to run a single test so I want to specify that class on the cli as
                    // a parameter.
    
                    value = properties.get(expression);
                }
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top