Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3351 - 3360 of 7,602 for Class (0.14 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
     * down in the lineage are bubbling up where they should.
     *
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

     */
    package org.apache.maven.api.services;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Objects;
    
    class PathSource implements ModelSource {
    
        private final Path path;
        private final String location;
    
        PathSource(Path path) {
            this(path, null);
        }
    
        PathSource(Path path, String location) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 18 11:42:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

    import org.apache.maven.artifact.resolver.ResolutionNode;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>FarthestConflictResolver</code>.
     *
     * @see FarthestConflictResolver
     */
    @Deprecated
    class FarthestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public FarthestConflictResolverTest() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

    import org.apache.maven.artifact.resolver.ResolutionNode;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>NearestConflictResolver</code>.
     *
     * @see NearestConflictResolver
     */
    @Deprecated
    class NearestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public NearestConflictResolverTest() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

    import org.apache.maven.artifact.resolver.ResolutionNode;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>OldestConflictResolver</code>.
     *
     * @see OldestConflictResolver
     */
    @Deprecated
    class OldestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public OldestConflictResolverTest() throws Exception {
            super("oldest");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

     */
    package org.apache.maven.artifact.resolver.filter;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to only retain objects in the given artifactScope or better.
     *
     */
    abstract class AbstractScopeArtifactFilter implements ArtifactFilter {
    
        private boolean compileScope;
    
        private boolean runtimeScope;
    
        private boolean testScope;
    
        private boolean providedScope;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java

    package org.apache.maven.plugin;
    
    /**
     * An exception occurring during the execution of a plugin (such as a compilation failure).<br>
     * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
     *
     */
    public class MojoFailureException extends AbstractMojoExecutionException {
        /**
         * Construct a new <code>MojoFailureException</code> exception providing the source and a short and long message:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

    /**
     * @deprecated Maven 3 compatibility - please use {@code org.apache.maven.api.services.xml.SettingsXmlFactory} from {@code maven-api-core}
     * or {@link SettingsStaxWriter}
     */
    @Deprecated
    public class SettingsXpp3Writer {
    
        private final SettingsStaxWriter delegate;
    
        public SettingsXpp3Writer() {
            delegate = new SettingsStaxWriter();
            delegate.setAddLocationInformation(false);
        }
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. tests/test_response_model_sub_types.py

    from typing import List
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Model(BaseModel):
        name: str
    
    
    app = FastAPI()
    
    
    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": List[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/static-files.md

     `directory="static"` 指向包含你的静态文件的目录名字。
    
    `name="static"` 提供了一个能被**FastAPI**内部使用的名字。
    
    所有这些参数可以不同于"`static`",根据你应用的需要和具体细节调整它们。
    
    ## 更多信息
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top