Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 903 for optionnel (0.04 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

         *
         * @return an {@link Optional} containing the list of goals, or empty if not specified
         */
        @Nonnull
        Optional<List<String>> goals();
    
        /**
         * Returns the target POM model version for upgrades.
         * Supported values include "4.0.0" and "4.1.0".
         *
         * @return an {@link Optional} containing the model version, or empty if not specified
         */
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

        }
    
        @Override
        public Optional<Project> getProject() {
            return Optional.ofNullable(session.getProject(delegate.getProject()));
        }
    
        @Override
        public Optional<MojoExecution> getMojoExecution() {
            return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me));
        }
    
        @Override
        public Optional<Exception> getException() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java

            return of(active, optional, true);
        }
    
        static ActivationSettings of(final boolean active, final boolean optional, final boolean recursive) {
            return new ActivationSettings(active, optional, recursive);
        }
    
        static ActivationSettings activated() {
            return new ActivationSettings(true, false, true);
        }
    
        static ActivationSettings activatedOpt() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 16:38:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
         * Should imply "yes" to all questions.
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> yes();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            when(options.all()).thenReturn(Optional.ofNullable(all));
            when(options.infer()).thenReturn(Optional.ofNullable(infer));
            when(options.model()).thenReturn(Optional.ofNullable(model));
            when(options.plugins()).thenReturn(Optional.ofNullable(plugins));
            when(options.modelVersion()).thenReturn(Optional.ofNullable(modelVersion));
            return options;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        Optional<Path> rootDirectory();
    
        /**
         * Returns the input stream for the Maven execution, if running in embedded mode.
         *
         * @return an {@link Optional} containing the input stream, or empty if not applicable
         */
        @Nonnull
        default Optional<InputStream> stdIn() {
            return Optional.ofNullable(parserRequest().stdIn());
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

        private ProtoLookup(Map<Class<?>, Object> components) {
            this.components = components;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            Optional<T> optional = lookupOptional(type);
            if (optional.isPresent()) {
                return optional.get();
            } else {
                throw new LookupException("No mapping for key: " + type.getName());
            }
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. fastapi/routing.py

            response_model: Any = Default(None),
            status_code: Optional[int] = None,
            tags: Optional[list[Union[str, Enum]]] = None,
            dependencies: Optional[Sequence[params.Depends]] = None,
            summary: Optional[str] = None,
            description: Optional[str] = None,
            response_description: str = "Successful Response",
            responses: Optional[dict[Union[int, str], dict[str, Any]]] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  9. tests/test_request_params/test_query/test_optional_str.py

        p: Optional[str] = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[QueryModelOptionalStr, Query()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": False,
                "schema": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. tests/test_request_params/test_body/test_optional_str.py

        return {"p": p}
    
    
    class BodyModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.post("/model-optional-str", operation_id="model_optional_str")
    async def read_model_optional_str(p: BodyModelOptionalStr):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        openapi = app.openapi()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top