Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for nonNull (0.11 sec)

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

         */
        record Entry(
                @Nonnull Level level,
                @Nonnull String message,
                @Nullable Throwable error) {}
    
        /**
         * If this is an accumulating log, it will "drain" this instance. It returns the accumulated log entries, and
         * also "resets" this instance to empty (initial) state.
         */
        @Nonnull
        default List<Entry> drain() {
            return List.of();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Nonnull
        @Override
        public Collection<SourceRoot> getSourceRoots(@Nonnull Project project) {
            MavenProject prj = getMavenProject(requireNonNull(project, "project" + " cannot be null"));
            return prj.getSourceRoots();
        }
    
        @Nonnull
        @Override
        public Stream<SourceRoot> getEnabledSourceRoots(@Nonnull Project project, ProjectScope scope, Language language) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         *
         * @return The source from which the model was read, never {@code null}.
         */
        @Nonnull
        ModelSource getSource();
    
        /**
         * Gets the file model.
         *
         * @return the file model, never {@code null}.
         */
        @Nonnull
        Model getFileModel();
    
        /**
         * Gets the file model + build pom transformation, without inheritance nor interpolation.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

            @Nonnull
            @Override
            public List<org.apache.maven.api.Toolchain> getToolchains(
                    @Nonnull Session session, @Nonnull String type, @Nullable Map<String, String> requirements)
                    throws ToolchainManagerException {
                return getDelegate().getToolchains(session, type, requirements);
            }
    
            @Nonnull
            @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 31 10:58:52 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

    @Experimental
    public interface Project {
    
        /**
         * {@return the project groupId}.
         */
        @Nonnull
        String getGroupId();
    
        /**
         * {@return the project artifactId}.
         */
        @Nonnull
        String getArtifactId();
    
        /**
         * {@return the project version}.
         */
        @Nonnull
        String getVersion();
    
        /**
         * {@return the project packaging}.
         * <p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

                str = str.substring(1, length - 1);
            }
            return str;
        }
    
        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
            return path.toAbsolutePath().normalize();
        }
    
        @Nonnull
        public static Map<String, String> toMap(Properties properties) {
            requireNonNull(properties, "properties");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 23K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
        default String getName() {
            return name();
        }
    
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
        default String getNamespaceUri() {
            return namespaceUri();
        }
    
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
        default String getPrefix() {
            return prefix();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            return builder(requireNonNull(request, "request cannot be null"))
                    .source(requireNonNull(source, "source cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) {
            return builder()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. 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"))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top