- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 164 for isPresent (0.08 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java
cmdAndArguments.add("--install-toolchains"); cmdAndArguments.add(mavenOptions.altInstallationToolchains().get()); } if (mavenOptions.logFile().isPresent()) { cmdAndArguments.add("--log-file"); cmdAndArguments.add(mavenOptions.logFile().get()); } if (mavenOptions.color().isPresent()) { cmdAndArguments.add("--color");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
internal/kms/config.go
} return ParseSecretKey(s) } } // IsPresent reports whether a KMS configuration is present. // It returns an error if multiple KMS configurations are // present or if one configuration is incomplete. func IsPresent() (bool, error) { // isPresent reports whether at least one of the // given env. variables is present. isPresent := func(vars ...string) bool { for _, v := range vars {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 11:46:39 UTC 2024 - 14.2K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
val rcNumber = buildRcNumber val milestoneNumber = buildMilestoneNumber if ( (buildFinalRelease.isPresent && buildRcNumber.isPresent) || (buildFinalRelease.isPresent && buildMilestoneNumber.isPresent) || (buildRcNumber.isPresent && buildMilestoneNumber.isPresent) ) { throw InvalidUserDataException("Cannot set any combination of milestoneNumber, rcNumber and finalRelease at the same time")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.9K bytes - Viewed (0) -
internal/kms/config_test.go
os.Setenv(k, v) } ok, err := IsPresent() if err != nil && !test.ShouldFail { t.Fatalf("Test %d: %v", i, err) } if err == nil && test.ShouldFail { t.Fatalf("Test %d: should have failed but succeeded", i) } if !test.ShouldFail && ok != test.IsPresent { t.Fatalf("Test %d: reported that KMS present=%v - want present=%v", i, ok, test.IsPresent) } } } var isPresentTests = []struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
} protected <T> Optional<T> returnFirstPresentOrEmpty(Function<O, Optional<T>> getter) { for (O option : options) { Optional<T> o = getter.apply(option); if (o.isPresent()) { return o; } } return Optional.empty(); } protected Optional<List<String>> collectListIfPresentOrEmpty(Function<O, Optional<List<String>>> getter) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
MavenOptions mavenOptions = context.invokerRequest.options(); if (mavenOptions.failFast().isPresent()) { return MavenExecutionRequest.REACTOR_FAIL_FAST; } else if (mavenOptions.failAtEnd().isPresent()) { return MavenExecutionRequest.REACTOR_FAIL_AT_END; } else if (mavenOptions.failNever().isPresent()) { return MavenExecutionRequest.REACTOR_FAIL_NEVER; } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
private val timestampSource: String get() = parameters.run { when { buildTimestampFromBuildReceipt.isPresent -> "from build receipt" buildTimestampFromGradleProperty.isPresent -> "from buildTimestamp property" runningInstallTask.get() -> "from current time because installing"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 3.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
if (invokerRequest.options().help().isPresent()) { Consumer<String> writer = determineWriter(context); invokerRequest.options().displayHelp(context.invokerRequest.parserRequest(), writer); throw new ExitException(0); } if (invokerRequest.options().showVersionAndExit().isPresent()) { showVersion(context); throw new ExitException(0);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java
private static RichReport.Configuration reportConfigurationOf(Provider<RichReport> report) { if (report.isPresent()) { return report.get().toConfiguration(); } return null; } private static File maybeFile(RegularFileProperty property) { if (property.isPresent()) { return property.getAsFile().get(); } return null; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Apr 26 10:58:32 UTC 2023 - 13.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
if (!wildcardType.getExtendedType().isPresent() && !wildcardType.getSuperType().isPresent()) { typeMetaData.setWildcard(); } else { wildcardType.getExtendedType().ifPresent(referenceType -> typeMetaData.setUpperBounds(extractTypeName(referenceType))); wildcardType.getSuperType().ifPresent(referenceType -> typeMetaData.setLowerBounds(extractTypeName(referenceType)));
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0)