Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1731 - 1740 of 2,994 for class (0.01 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java

    import org.eclipse.aether.metadata.AbstractMetadata;
    import org.eclipse.aether.metadata.MergeableMetadata;
    
    /**
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    abstract class MavenMetadata extends AbstractMetadata implements MergeableMetadata {
    
        static final String MAVEN_METADATA_XML = "maven-metadata.xml";
    
        protected Metadata metadata;
    
        private final Path path;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

     * Remote snapshot metadata converts artifact on-the-fly to use timestamped snapshot version, and enlist it accordingly.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    class RemoteSnapshotMetadataGenerator implements MetadataGenerator {
    
        private final Map<Object, RemoteSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        private final Integer buildNumber;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginValidatorTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    class MavenPluginValidatorTest extends AbstractCoreMavenComponentTestCase {
        @Inject
        private MavenPluginValidator mavenPluginValidator;
    
        protected String getProjectsDirectory() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java

    /**
     * A facade that provides lifecycle services to components outside Maven core.
     *
     */
    public interface LifecycleExecutor {
    
        // USED BY MAVEN HELP PLUGIN
        @Deprecated
        String ROLE = LifecycleExecutor.class.getName();
    
        // For a given project packaging find all the plugins that are bound to any registered
        // lifecycles. The project builder needs to now what default plugin information needs to be
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  5. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    import java.net.*;
    import java.io.*;
    import java.nio.channels.*;
    import java.util.Properties;
    
    public class MavenWrapperDownloader {
    
        private static final String WRAPPER_VERSION = "0.5.6";
        /**
         * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
         */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *}
    
    /// info
    
    To use `EmailStr`, first install <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email-validator`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/response-status-code.md

    ///
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    /// info | 说明
    
    `status_code` 还能接收 `IntEnum` 类型,比如 Python 的 <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>。
    
    ///
    
    它可以:
    
    * 在响应中返回状态码
    * 在 OpenAPI 概图(及用户界面)中存档:
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | 笔记
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  8. docs_src/body_updates/tutorial001_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Union[str, None] = None
        description: Union[str, None] = None
        price: Union[float, None] = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 900 bytes
    - Click Count (0)
  9. docs_src/dependencies/tutorial014_an_py310.py

    from fastapi.responses import StreamingResponse
    from sqlmodel import Field, Session, SQLModel, create_engine
    
    engine = create_engine("postgresql+psycopg://postgres:postgres@localhost/db")
    
    
    class User(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str
    
    
    app = FastAPI()
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 957 bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

    import org.eclipse.aether.transfer.TransferListener;
    
    import static java.util.Comparator.comparing;
    
    /**
     * The Maven invoker, that expects whole Maven on classpath and invokes it.
     */
    public class MavenInvoker extends LookupInvoker<MavenContext> {
        public MavenInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            super(protoLookup, contextConsumer);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
Back to Top