Class TopHints

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class TopHints
    extends org.apache.tools.ant.Task
    Display the slowest test suites based on hints files.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  TopHints.Entry  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Comparator<TopHints.Entry> byDescHint  
      private int max
      Max entries to display.
      private java.util.List<org.apache.tools.ant.types.ResourceCollection> resources
      All included execution time dumps.
      • Fields inherited from class org.apache.tools.ant.Task

        target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        description, location, project
    • Constructor Summary

      Constructors 
      Constructor Description
      TopHints()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(org.apache.tools.ant.types.ResourceCollection rc)
      Adds a resource collection with execution hints.
      void execute()  
      void setMax​(int maxEntries)
      The number of entries to display, maximum.
      • Methods inherited from class org.apache.tools.ant.Task

        bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • byDescHint

        private static final java.util.Comparator<TopHints.Entry> byDescHint
      • resources

        private java.util.List<org.apache.tools.ant.types.ResourceCollection> resources
        All included execution time dumps.
      • max

        private int max
        Max entries to display.
    • Constructor Detail

      • TopHints

        public TopHints()
    • Method Detail

      • setMax

        public void setMax​(int maxEntries)
        The number of entries to display, maximum.
      • add

        public void add​(org.apache.tools.ant.types.ResourceCollection rc)
        Adds a resource collection with execution hints.
      • execute

        public void execute()
                     throws org.apache.tools.ant.BuildException
        Overrides:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException