Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 245 for notNull (0.08 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java

         * a <abbr>JAR</abbr> containing test classes, <i>etc.</i>
         */
        @Nonnull
        Type getType();
    
        /**
         * {@return the time at which the dependency will be used}
         * If may be, for example, at compile time only, at run time or at test time.
         */
        @Nonnull
        DependencyScope getScope();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

         * @throws ParserException if there's an error during parsing of the command or arguments
         * @throws IOException if there's an I/O error during the parsing process
         */
        @Nonnull
        default R mvn(@Nonnull String[] args, @Nonnull Logger logger, @Nonnull MessageBuilderFactory messageBuilderFactory)
                throws ParserException, IOException {
            return parse(ParserRequest.mvn(args, logger, messageBuilderFactory).build());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java

    import org.apache.maven.api.ExtensibleEnum;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.annotations.Nonnull;
    
    public interface ExtensibleEnumRegistry<T extends ExtensibleEnum> extends Service {
        @Nonnull
        Optional<T> lookup(@Nonnull String id);
    
        @Nonnull
        default T require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

        }
    
        @Nonnull
        static DependencyCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull Dependency dependency) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .groupId(nonNull(dependency, "dependency").getGroupId())
                    .artifactId(dependency.getArtifactId())
                    .version(dependency.getVersion().asString())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

                throw new IllegalArgumentException("Unsupported scope " + scope);
            }
        }
    
        @Override
        public List<Resource> getResources(@Nonnull Project project, @Nonnull ProjectScope scope) {
            Project prj = nonNull(project, "project");
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                return prj.getBuild().getResources();
            } else if (scope == ProjectScope.TEST) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

         * @return the transformed model, or the input model if no transformation is needed
         */
        @Nonnull
        Model transform(
                @Nonnull Model model, @Nonnull ModelBuilderRequest request, @Nonnull ModelProblemCollector problems);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 1.5K bytes
    - Viewed (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}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nonnull
        String getName();
    
        @Nonnull
        String getNamespaceUri();
    
        @Nonnull
        String getPrefix();
    
        @Nullable
        String getValue();
    
        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
        String getAttribute(@Nonnull String name);
    
        @Nonnull
        List<XmlNode> getChildren();
    
        @Nullable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Nov 27 23:11:34 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

         */
        @Nonnull
        List<Toolchain> getToolchains(@Nonnull Session session, String type, Map<String, String> requirements);
    
        /**
         *
         * @param session
         * @param type
         * @return the selected {@link Toolchain}
         * @throws ToolchainManagerException if an exception occurs
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenParser.java

         * @throws ParserException if there's an error during parsing of the request
         * @throws IOException if there's an I/O error during the parsing process
         */
        @Nonnull
        R parse(@Nonnull ParserRequest parserRequest) throws ParserException, IOException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top