Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 986 for toOptional (0.44 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultBuildResumptionAnalyzer.class);
    
        @Override
        public Optional<BuildResumptionData> determineBuildResumptionData(final MavenExecutionResult result) {
            if (!result.hasExceptions()) {
                return Optional.empty();
            }
    
            List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
            boolean hasNoSuccess =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/query-params.md

    * `skip=20`: because you set it in the URL
    * `limit=10`: because that was the default value
    
    ## Optional parameters { #optional-parameters }
    
    The same way, you can declare optional query parameters, by setting their default to `None`:
    
    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    In this case, the function parameter `q` will be optional, and will be `None` by default.
    
    /// check
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CircleCIDetector.java

    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.Optional;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Circle CI support.
     */
    public class CircleCIDetector implements CIDetector {
        public static final String NAME = "CircleCI";
    
        private static final String CIRCLECI = "CIRCLECI";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String ciEnv = System.getenv(CIRCLECI);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/JenkinsCIDetector.java

    package org.apache.maven.cling.invoker.cisupport;
    
    import java.util.Optional;
    
    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Jenkins CI support.
     */
    public class JenkinsCIDetector implements CIDetector {
        public static final String NAME = "Jenkins";
    
        private static final String WORKSPACE = "WORKSPACE";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String workspace = System.getenv(WORKSPACE);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. apache-maven/src/assembly/maven/bin/mvnsh.cmd

    @REM
    @REM   JAVA_HOME           (Optional) Points to a Java installation.
    @REM   MAVEN_BATCH_ECHO    (Optional) Set to 'on' to enable the echoing of the batch commands.
    @REM   MAVEN_BATCH_PAUSE   (Optional) set to 'on' to wait for a key stroke before ending.
    @REM   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    @REM   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. internal/config/browser/help.go

    			Description: `set Content-Security-Policy response header value` + defaultHelpPostfix(browserCSPPolicy),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         browserHSTSSeconds,
    			Description: `set Strict-Transport-Security 'max-age' amount of seconds value` + defaultHelpPostfix(browserHSTSSeconds),
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. fastapi/sse.py

            Doc(
                """
                Optional event type name.
    
                Maps to `addEventListener(event, ...)` on the browser. When omitted,
                the browser dispatches on the generic `message` event.
                """
            ),
        ] = None
        id: Annotated[
            str | None,
            AfterValidator(_check_id_no_null),
            Doc(
                """
                Optional event ID.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * The default value is empty.
         */
        default Optional<String> module() {
            return Optional.empty();
        }
    
        /**
         * {@return the version of the platform where the code will be executed}
         * In a Java environment, this is the value of the {@code --release} compiler option.
         * The default value is empty.
         */
        default Optional<Version> targetVersion() {
            return Optional.empty();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

       * Point ::= SEQUENCE {
       *   x [0] INTEGER OPTIONAL,
       *   y [1] INTEGER OPTIONAL
       * }
       * ```
       *
       * You may also specify a tag class like [DerHeader.TAG_CLASS_APPLICATION]. The default tag class
       * is [DerHeader.TAG_CLASS_CONTEXT_SPECIFIC].
       *
       * ```
       * Point ::= SEQUENCE {
       *   x [APPLICATION 0] INTEGER OPTIONAL,
       *   y [APPLICATION 1] INTEGER OPTIONAL
       * }
       * ```
       */
      fun withTag(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. internal/config/storageclass/help.go

    			Description: `set the parity count for default standard storage class` + defaultHelpPostfix(ClassStandard),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ClassRRS,
    			Description: `set the parity count for reduced redundancy storage class` + defaultHelpPostfix(ClassRRS),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         Optimize,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Mar 26 22:06:19 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top