Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CompositeOperation (0.26 sec)

  1. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/CompositeOperation.java

    import java.util.Iterator;
    import java.util.List;
    
    /**
     * An operation made up of other operations of type T.
     */
    public class CompositeOperation<T extends Operation> extends Operation implements Iterable<T> {
        private final List<T> children;
    
        public CompositeOperation(Iterable<? extends T> children) {
            this.children = Lists.newArrayList(children);
        }
    
        public List<T> getOperations() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/BuildProfile.java

            }
            return profile;
        }
    
        public CompositeOperation<ContinuousOperation> getDependencySets() {
            final List<ContinuousOperation> profiles = CollectionUtils.sort(dependencySets.values(), Operation.slowestFirst());
            return new CompositeOperation<>(profiles);
        }
    
        public FragmentedOperation getTransformProfile(String transformDescription) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProjectProfile.java

            }
            return result;
        }
    
        /**
         * Returns the task executions for this project.
         */
        public CompositeOperation<TaskExecution> getTasks() {
            List<TaskExecution> taskExecutions = CollectionUtils.sort(tasks.values(), slowestFirst());
            return new CompositeOperation<TaskExecution>(taskExecutions);
        }
    
        /**
         * Get the String project path.
         */
        public String getPath() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-profile/src/test/groovy/org/gradle/profile/CompositeOperationTest.groovy

        def "execution time is sum of execution time of child operations"() {
            given:
            Operation child1 = operation(12)
            Operation child2 = operation(10)
            def operation = new CompositeOperation<Operation>([child1, child2])
    
            expect:
            operation.elapsedTime == 22
        }
    
        def operation(long elapsedTime) {
            Operation operation = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProfileReportRenderer.java

                return new ReportRenderer<BuildProfile, SimpleHtmlWriter>() {
                    @Override
                    public void render(BuildProfile model, SimpleHtmlWriter htmlWriter) throws IOException {
                        CompositeOperation<Operation> profiledProjectConfiguration = model.getProjectConfiguration();
    
                        htmlWriter.startElement("div").attribute("id", "tabs")
                            .startElement("ul").attribute("class", "tabLinks")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 14.9K bytes
    - Viewed (0)
Back to top