Class Help

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.rat.anttasks.BaseAntTask
org.apache.rat.anttasks.Help
All Implemented Interfaces:
Cloneable

public class Help extends BaseAntTask
A basic Ant task that generates a report on all files specified by the nested resource collection(s).

IHeaderMatcher(s) can be specified as nested elements as well.

The attribute format defines the output format and can take the values

  • xml - Rat's native XML output.
  • styled - transforms the XML output using the given stylesheet. The stylesheet attribute must be set as well if this attribute is used.
  • plain - plain text using Rat's built-in stylesheet. This is the default.
  • Constructor Details

    • Help

      public Help()
      Constructor.
  • Method Details

    • execute

      public void execute()
      Generates the help.
      Overrides:
      execute in class org.apache.tools.ant.Task
    • log

      public void log(String msg, int msgLevel)
      Overrides:
      log in class org.apache.tools.ant.Task
    • log

      public void log(String msg, Throwable t, int msgLevel)
      Overrides:
      log in class org.apache.tools.ant.Task