Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for scheduledWork (0.19 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/plan/ScheduledWork.java

     */
    public class ScheduledWork implements QueryableExecutionPlan.ScheduledNodes {
        private final ImmutableList<Node> scheduledNodes;
        private final ImmutableSet<Node> entryNodes;
    
        public ScheduledWork(List<? extends Node> scheduledNodes, Collection<? extends Node> entryNodes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:05:29 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/WorkNodeCodec.kt

    import org.gradle.execution.plan.OrdinalGroupFactory
    import org.gradle.execution.plan.ScheduledWork
    import org.gradle.execution.plan.TaskNode
    
    
    class WorkNodeCodec(
        private val owner: GradleInternal,
        private val internalTypesCodec: Codec<Any?>,
        private val ordinalGroups: OrdinalGroupFactory
    ) {
    
        suspend fun WriteContext.writeWork(work: ScheduledWork) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/VintageGradleBuild.kt

    import org.gradle.api.internal.GradleInternal
    import org.gradle.execution.plan.ScheduledWork
    import org.gradle.internal.build.BuildState
    
    
    interface VintageGradleBuild {
        val isRootBuild: Boolean
        val state: BuildState
        val gradle: GradleInternal
        val hasScheduledWork: Boolean
        val scheduledWork: ScheduledWork
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 983 bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt

            override val hasScheduledWork: Boolean
                get() = gradle.taskGraph.size() > 0
    
            override val scheduledWork: ScheduledWork
                get() {
                    lateinit var work: ScheduledWork
                    gradle.taskGraph.visitScheduledNodes { nodes, entryNodes -> work = ScheduledWork(nodes, entryNodes) }
                    return work
                }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CachedBuildState.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl
    
    import org.gradle.execution.plan.ScheduledWork
    import org.gradle.normalization.internal.InputNormalizationHandlerInternal
    import org.gradle.util.Path
    import java.io.File
    
    
    /**
     * State cached for a project.
     */
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/build/BuildOperationFiringBuildWorkPreparer.java

                Set<Task> filteredTasks = contents.getFilteredTasks();
                QueryableExecutionPlan.ScheduledNodes scheduledWork = contents.getScheduledNodes();
    
                PlannedNodeGraph plannedNodeGraph = computePlannedNodeGraph(scheduledWork);
    
                buildOperationContext.setResult(new CalculateTaskGraphResult(requestedTasks, filteredTasks, plannedNodeGraph));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            val state = build.state
            if (state.isProjectsCreated) {
                writeBoolean(true)
                val scheduledWork = build.scheduledWork
                withDebugFrame({ "Gradle" }) {
                    writeGradleState(gradle)
                    val projects = collectProjects(state.projects, scheduledWork.scheduledNodes, gradle.serviceOf())
                    writeProjects(gradle, projects)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/build/BuildLifecycleController.java

    import org.gradle.api.internal.GradleInternal;
    import org.gradle.api.internal.SettingsInternal;
    import org.gradle.execution.EntryTaskSelector;
    import org.gradle.execution.plan.BuildWorkPlan;
    import org.gradle.execution.plan.ScheduledWork;
    
    import javax.annotation.Nullable;
    import java.util.List;
    import java.util.function.Consumer;
    import java.util.function.Function;
    
    /**
     * Controls the lifecycle of an individual build in the build tree.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:05:29 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/ExecutionPlan.java

    @NotThreadSafe
    public interface ExecutionPlan extends Describable, Closeable {
        void addFilter(Spec<? super Task> filter);
    
        void setContinueOnFailure(boolean continueOnFailure);
    
        void setScheduledWork(ScheduledWork work);
    
        /**
         * Adds an entry task to the execution plan. If called multiple times then execution plan follows the method invocation order.
         *
         */
        void addEntryTask(Task task);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:05:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultExecutionPlan.java

            return this;
        }
    
        @Override
        public TaskNode getNode(Task task) {
            return nodeMapping.get(task);
        }
    
        @Override
        public void setScheduledWork(ScheduledWork work) {
            if (scheduledNodes != null) {
                throw new IllegalStateException("This execution plan already has nodes scheduled.");
            }
            scheduledNodes = work.getScheduledNodes();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.6K bytes
    - Viewed (0)
Back to top