- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for maybeTransition (0.27 sec)
-
subprojects/core/src/test/groovy/org/gradle/internal/model/StateTransitionControllerTest.groovy
e.message == "<state> should be in state C or later." } def "maybeTransition() runs action for transition when in from state"() { def action = Mock(Runnable) def controller = controller(TestState.A) when: asWorker { controller.maybeTransition(TestState.A, TestState.B, action) } then: 1 * action.run()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 23K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java
return state.notInStateIgnoreOtherThreads(State.Finished, modelController::getConfiguredModel); } @Override public void prepareToScheduleTasks() { state.maybeTransition(State.Configure, State.TaskSchedule, () -> { hasTasks = true; modelController.prepareToScheduleTasks(); }); } @Override public BuildWorkPlan newWorkGraph() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 16.5K bytes - Viewed (0)