- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getValueOrRethrow (0.19 sec)
-
subprojects/core/src/main/java/org/gradle/internal/build/ExecutionResult.java
*/ public abstract RuntimeException getFailureOrNull(); /** * Returns the value or rethrows the failures of this result. */ public abstract T getValueOrRethrow(); /** * Rethrows the failures in this result, if any, otherwise does nothing. */ public abstract void rethrow(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 03 03:31:42 UTC 2023 - 6.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/model/StateTransitionController.java
*/ public <S> S transition(T fromState, T toState, Supplier<? extends S> action) { return synchronizer.withLock(() -> doTransition(fromState, toState, () -> ExecutionResult.succeeded(action.get())).getValueOrRethrow()); } /** * Transitions to the given "to" state, returning any failure in the result object.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 03 03:31:44 UTC 2023 - 20.9K bytes - Viewed (0)