Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1161 - 1170 of 2,978 for Class (0.02 seconds)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupPlugin.kt

     *
     * @see <a href="https://github.com/gradle/gradle-private/issues/4910">Issue #4910</a>
     */
    class AndroidHomeWarmupPlugin : Plugin<Project> {
        override fun apply(project: Project) {
            val extension =
                project.extensions.create("androidHomeWarmup", AndroidHomeWarmupExtension::class.java).apply {
                    warmupProjectsDirectory.convention(project.layout.buildDirectory.dir("android-home-warmup"))
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 27 08:49:21 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectIndex.java

    /**
     * <p>
     * Provides the positional index of the project
     * </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
     */
    // TODO Kristian wonders if this class really is necessary and if it overlaps other concepts.
    public final class ProjectIndex {
    
        private final Map<String, MavenProject> projects;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

    import java.io.ObjectOutputStream;
    
    import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    class SerializationTest {
    
        @Test
        void testModelSerialization() throws Exception {
            Model model;
            try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java

     * and their provided lifecycles will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomLifecycleProvider implements LifecycleProvider {
     *     public Collection&lt;Lifecycle&gt; provides() {
     *         return Collections.singleton(
     *             lifecycle("deploy-docker", Arrays.asList(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     * and their provided path scopes will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomPathScopeProvider implements PathScopeProvider {
     *     public Collection&lt;PathScope&gt; provides() {
     *         return Collections.singleton(pathScope("integration-test",
    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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top