Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 2,994 for class (0.03 seconds)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/TypeProvider.java

     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and their provided types will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomTypeProvider implements TypeProvider {
     *     public Collection&lt;Type&gt; provides() {
     *         return Arrays.asList(
     *             type("kotlin-library", "jar", "kotlin"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginConfigurationException.java

    import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     */
    public class PluginConfigurationException extends Exception {
        private PluginDescriptor pluginDescriptor;
    
        private String originalMessage;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

    import org.gradle.api.tasks.Internal
    import org.gradle.api.tasks.OutputFile
    import org.gradle.api.tasks.TaskAction
    import org.gradle.api.file.RegularFileProperty
    
    import java.util.Properties
    
    
    @CacheableTask
    abstract class ClasspathManifest : DefaultTask() {
    
        @get:Input
        abstract val optionalProjects: ListProperty<String>
    
        @get:Internal
        abstract val projectDependencies: ConfigurableFileCollection
    
        @Input
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  4. docs_src/body_nested_models/tutorial001_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: list = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 364 bytes
    - Click Count (0)
  5. docs_src/cookie_param_models/tutorial002_py39.py

    from typing import Union
    
    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        model_config = {"extra": "forbid"}
    
        session_id: str
        fatebook_tracker: Union[str, None] = None
        googall_tracker: Union[str, None] = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Cookies = Cookie()):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 381 bytes
    - Click Count (0)
  6. docs_src/response_model/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    # Don't do this in production!
    @app.post("/user/")
    async def create_user(user: UserIn) -> UserIn:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 350 bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

    import org.slf4j.LoggerFactory;
    
    /**
     * <p>
     * Resolves dependencies for the artifacts in context of the lifecycle build
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     * @since 3.0
     */
    @Named
    public class LifecycleDependencyResolver {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. tests/test_openapi_separate_input_output_schemas.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, computed_field
    
    
    class SubItem(BaseModel):
        subname: str
        sub_description: Optional[str] = None
        tags: list[str] = []
        model_config = {"json_schema_serialization_defaults_required": True}
    
    
    class Item(BaseModel):
        name: str
        description: Optional[str] = None
        sub: Optional[SubItem] = None
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

     * This exception is typically thrown when there are errors during the execution of a Maven
     * process, such as build failures, plugin errors, or other runtime issues.
     *
     * @since 4.0.0
     */
    @Experimental
    public class InvokerException extends MavenException {
        /**
         * Constructs a new {@code InvokerException} with the specified detail message.
         *
         * @param message the detail message explaining the cause of the exception
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 10:47:37 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java

    import org.junit.jupiter.api.io.TempDir;
    
    /**
     * Resident UT.
     */
    @Order(100)
    public class ResidentMavenInvokerTest extends MavenInvokerTestSupport {
    
        @Override
        protected Invoker createInvoker(ClassWorld classWorld) {
            return new ResidentMavenInvoker(
                    ProtoLookup.builder().addMapping(ClassWorld.class, classWorld).build(), null);
        }
    
        @Override
        protected Parser createParser() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 10:47:37 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top