Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 243 for NonNull (0.07 seconds)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

         * @param messageBuilderFactory the factory for creating message builders
         * @return a new Builder instance
         */
        @Nonnull
        static Builder builder(
                @Nonnull String command,
                @Nonnull String commandName,
                @Nonnull List<String> args,
                @Nonnull MessageBuilderFactory messageBuilderFactory) {
            return new Builder(command, commandName, args, messageBuilderFactory);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

        int getRetryFailedDeploymentCount();
    
        @Nonnull
        static ArtifactDeployerRequestBuilder builder() {
            return new ArtifactDeployerRequestBuilder();
        }
    
        @Nonnull
        static ArtifactDeployerRequest build(
                @Nonnull Session session,
                @Nonnull RemoteRepository repository,
                @Nonnull Collection<ProducedArtifact> artifacts) {
            return builder()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ArtifactManager extends Service {
    
        /**
         * Returns the path of the file previously associated to this artifact
         * or {@code Optional.empty()} if no path has been associated.
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Artifact artifact);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         * @param source the source of the project to build
         * @return a new ProjectBuilderRequest
         * @throws NullPointerException if session or source is null
         */
        @Nonnull
        static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Source source) {
            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .source(requireNonNull(source, "source cannot be null"))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         *
         * @return the identifier of the project or an empty string if not known, never {@code null}
         */
        @Nonnull
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
         *
         * @return the optional POM file
         */
        @Nonnull
        Optional<Path> getPomFile();
    
        /**
         * Gets the project that was built.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

        /**
         * The packaging id.
         */
        @Nonnull
        @Override
        String id();
    
        /**
         * The language of this packaging.
         */
        @Nonnull
        default Language language() {
            return type().getLanguage();
        }
    
        /**
         * The type of main artifact produced by this packaging.
         */
        @Nonnull
        Type type();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         * @param dir the directory to locate the pom for, never {@code null}
         * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser
         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
         * Parse the model obtained previously by a previous call to {@link #locate(Path)}.
         *
         * @param source the source to parse, never {@code null}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Sep 10 17:18:47 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

         *
         * @param model the input model
         * @return the transformed model, or the input model if no transformation is needed
         * @throws ModelTransformerException
         */
        @Nonnull
        default Model transformFileModel(@Nonnull Model model) throws ModelTransformerException {
            return model;
        }
    
        /**
         * Apply a transformation on the raw models.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .artifactCoordinates(requireNonNull(artifactCoordinates, "artifactCoordinates cannot be null"))
                    .build();
        }
    
        @Nonnull
        static VersionResolverRequest build(
                @Nonnull Session session,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java

         *
         * @throws TransportProviderException if passed in remote repository has invalid remote URL or unsupported protocol.
         */
        @Nonnull
        Transport transport(@Nonnull Session session, @Nonnull RemoteRepository repository);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
Back to Top