Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 187 for ifPresent (0.08 sec)

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

        @get:Optional
        @get:Input
        val androidSdkRoot: Provider<String> = project.providers.environmentVariable("ANDROID_SDK_ROOT")
    
        @TaskAction
        fun warmup() {
            if (!androidHome.isPresent && !androidSdkRoot.isPresent) {
                logger.lifecycle("Skip warmning up Android home because ANDROID_HOME/ANDROID_SDK_ROOT env vars are not set.")
                return
            }
            sdkVersions.orNull.orEmpty().forEach { version ->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 09:24:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. internal/crypto/sse-kms.go

    	// Otherwise, the metadata is corrupted.
    	keyID, idPresent := metadata[MetaKeyID]
    	b64KMSSealedKey, kmsKeyPresent := metadata[MetaDataEncryptionKey]
    	if !idPresent && kmsKeyPresent {
    		return keyID, kmsKey, sealedKey, ctx, Errorf("The object metadata is missing the internal KMS key-ID for SSE-S3")
    	}
    	if idPresent && !kmsKeyPresent {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

            }.orElse(
                Optional.empty<T>()
            )
        }.reduce { acc, next ->
            acc.zip(next) { left, right ->
                when {
                    left.isPresent -> {
                        require(!right.isPresent) {
                            "Expected at most one provider to be present"
                        }
                        left
                    }
                    else -> right
                }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 30 16:56:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                String fieldKey = field.getKey();
                String fieldDescription = "Configure " + fieldKey + ": " + field.getDescription();
                if (field.getOptions().isPresent()) {
                    // list options
                    ListPromptBuilder listPromptBuilder =
                            promptBuilder.createListPrompt().name(fieldKey).message(fieldDescription);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

            return !((java.util.Optional<?>) value).isPresent();
          } else if (value instanceof OptionalInt) {
            return !((OptionalInt) value).isPresent();
          } else if (value instanceof OptionalLong) {
            return !((OptionalLong) value).isPresent();
          } else if (value instanceof OptionalDouble) {
            return !((OptionalDouble) value).isPresent();
          } else if (value instanceof Optional) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() = systemProperty(BUNDLE_GROOVY_MAJOR).orNull?.toInt() ?: 4
    
    val Project.daemonDebuggingIsEnabled: Boolean
        get() = propertyFromAnySource(DEBUG_DAEMON).isPresent
    
    val Project.launcherDebuggingIsEnabled: Boolean
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 18 22:01:30 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

            context.indent();
    
            if (options.all().orElse(false)) {
                context.info("all: true (applying all available upgrades)");
            }
    
            if (options.modelVersion().isPresent()) {
                context.info("modelVersion: " + options.modelVersion().get());
            }
    
            if (options.plugins().orElse(false)) {
                context.info("plugins: true");
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

        }
    
        @Internal
        protected
        fun getContributorsFromPullRequests(): Set<GitHubUser> {
            if (!milestone.isPresent) {
                error("Milestone not set: please rerun the task with `--milestone <milestone>`")
            }
            val prs: MutableList<GitHubPullRequest> = mutableListOf()
            for (page in 1..10) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 24 07:54:08 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         * if applicable.
         */
        default boolean effectiveVerbose() {
            return options().isPresent() && options().orElseThrow().verbose().orElse(false)
                    || ciInfo().isPresent() && ciInfo().orElseThrow().isVerbose();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java

            }.writePlan(System.out::println, plan);
    
            plan.allSteps().forEach(phase -> {
                phase.predecessors.forEach(
                        pred -> assertTrue(plan.step(pred.project, pred.name).isPresent(), "Phase not present: " + pred));
            });
        }
    
        @Test
        void testAlias() {
            MavenProject p1 = new MavenProject();
            p1.setArtifactId("p1");
            p1.setCollectedProjects(List.of());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 15:21:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top