Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tryTransition (0.19 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java

            DefaultBuildWorkPlan workPlan = unpack(plan);
            if (workPlan.empty) {
                return ExecutionResult.succeeded();
            }
            return state.tryTransition(State.ReadyToRun, State.Configure, () -> {
                List<BiConsumer<EntryTaskSelector.Context, QueryableExecutionPlan>> finalizations = workPlan.finalizations;
                if (!finalizations.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/model/StateTransitionController.java

         * Fails if the current state is not the given "from" state, the current thread is transitioning the state, or a previous operation has failed.
         */
        public ExecutionResult<Void> tryTransition(T fromState, T toState, Supplier<ExecutionResult<Void>> action) {
            return synchronizer.withLock(() -> doTransition(fromState, toState, action));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 03 03:31:44 UTC 2023
    - 20.9K bytes
    - Viewed (0)
Back to top