- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for or_else (0.57 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProviderWithValue.java
} @Override public boolean calculatePresence(ValueConsumer consumer) { return true; } @Override public Provider<T> orElse(T value) { return this; } @Override public Provider<T> orElse(Provider<? extends T> provider) { return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteWorkBuildOperationFiringStep.java
return originMetadata.map(OriginMetadata::getBuildInvocationId).orElse(null); } @Nullable @Override public byte[] getOriginBuildCacheKeyBytes() { return originMetadata .map(OriginMetadata::getBuildCacheKey) .map(HashCode::toByteArray) .orElse(null); } @Nullable @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/UpToDateResult.java
this.reusedOutputOriginMetadata = parent.getAfterExecutionOutputState() .filter(ExecutionOutputState::isReused) .map(ExecutionOutputState::getOriginMetadata) .orElse(null); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:29 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/OverlappingOutputsFilter.java
.map(PreviousExecutionState::getOutputFilesProducedByWork) .orElse(ImmutableSortedMap.of()); ImmutableSortedMap<String, FileSystemSnapshot> unfilteredOutputSnapshotsBeforeExecution = context.getBeforeExecutionState() .map(BeforeExecutionState::getOutputFileLocationSnapshots) .orElse(ImmutableSortedMap.of());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 09:40:08 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecutionRequestContext.java
this.validationContext = validationContext; } protected ExecutionRequestContext(ExecutionRequestContext parent) { this(parent.getNonIncrementalReason().orElse(null), parent.getValidationContext()); } /** * If incremental mode is disabled, this returns the reason, otherwise it's empty. */ Optional<String> getNonIncrementalReason() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNode.java
public FileSystemNode mergeWithExisting(FileSystemNode child) { if (snapshot instanceof FileSystemLocationSnapshot || !child.getSnapshot().map(oldSnapshot -> oldSnapshot instanceof FileSystemLocationSnapshot).orElse(false)) { FileSystemNode newChild = snapshot.asFileSystemNode(); diffListener.nodeRemoved(child); diffListener.nodeAdded(newChild); return newChild;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Providers.java
return this; } @Override public Provider<T> orElse(T value) { return Providers.of(value); } @Override public Provider<T> orElse(Provider<? extends T> provider) { return Cast.uncheckedCast(provider); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:32 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/LoadPreviousExecutionStateStep.java
Identity identity = context.getIdentity(); PreviousExecutionState previousExecutionState = context.getHistory() .flatMap(history -> history.load(identity.getUniqueId())) .orElse(null); R result = delegate.execute(work, new PreviousExecutionContext(context, previousExecutionState)); // If we did not capture any outputs after execution, remove them from history context.getHistory()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:29 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/IncrementalChangesContext.java
this.executionStateChanges = executionStateChanges; } protected IncrementalChangesContext(IncrementalChangesContext parent) { this(parent, parent.getRebuildReasons(), parent.getChanges().orElse(null)); } /** * Returns the reasons to re-execute the work, empty if there's no reason to re-execute. */ public ImmutableList<String> getRebuildReasons() { return rebuildReasons;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 17:10:38 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClient.java
} public LogLevel getLogLevel() { return logLevel; } public boolean isFailed() { return workerProcess.getExecResult().map(execResult -> execResult.getExitValue() != 0).orElse(false); } public Optional<Integer> getExitCode() { return workerProcess.getExecResult().map(ExecResult::getExitValue); } public boolean isNotExpirable() { return cannotBeExpired;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:54:37 UTC 2024 - 3.7K bytes - Viewed (0)