- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for TaskMutator (0.14 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskMutator.java
import java.beans.PropertyChangeEvent; import java.util.concurrent.Callable; import static org.gradle.internal.UncheckedException.uncheckedCall; public class TaskMutator { private final TaskInternal task; public TaskMutator(TaskInternal task) { this.task = task; } public void mutate(String method, Runnable action) { if (!task.getState().isConfigurable()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 12:20:43 UTC 2024 - 2.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskLocalState.java
public class DefaultTaskLocalState implements TaskLocalStateInternal { private final TaskMutator taskMutator; private final FileCollectionFactory fileCollectionFactory; private final List<Object> registeredPaths = new ArrayList<>(); public DefaultTaskLocalState(TaskMutator taskMutator, FileCollectionFactory fileCollectionFactory) { this.taskMutator = taskMutator; this.fileCollectionFactory = fileCollectionFactory; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskDestroyables.java
private final TaskMutator taskMutator; private final FileCollectionFactory fileCollectionFactory; private final List<Object> registeredPaths = new ArrayList<>(); public DefaultTaskDestroyables(TaskMutator taskMutator, FileCollectionFactory fileCollectionFactory) { this.taskMutator = taskMutator; this.fileCollectionFactory = fileCollectionFactory; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDestroyablesTest.groovy
@UsesNativeServices class DefaultTaskDestroyablesTest extends Specification { @Rule public TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) TaskMutator taskMutator = Stub(TaskMutator) { mutate(_, _) >> { String method, Object action -> if (action instanceof Runnable) { action.run() } else if (action instanceof Callable) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 03 07:26:07 UTC 2020 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskRequiredServices.java
@Nullable private Collection<? extends BuildServiceProvider<?, ?>> consumedServices; public DefaultTaskRequiredServices(TaskInternal task, TaskMutator taskMutator, PropertyWalker propertyWalker) { this.task = task; this.taskMutator = taskMutator; this.propertyWalker = propertyWalker; } @Override public Set<Provider<? extends BuildService<?>>> getElements() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 16 23:29:30 UTC 2023 - 4.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/TaskMutatorTest.groovy
class TaskMutatorTest extends Specification { def state = Stub(TaskStateInternal) def task = Stub(TaskInternal) { getState() >> state toString() >> "<task>" } def nagger = new TaskMutator(task) def "executes mutation action when in configurable state"() { def action = Mock(Runnable) given: state.configurable >> true when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 27 11:48:15 UTC 2018 - 1.6K bytes - Viewed (0)