Class DefaultExcludes

All Implemented Interfaces:
Cloneable

public class DefaultExcludes extends Task
Alters the default excludes for the entire build..
Since:
Ant 1.6
  • Constructor Details

    • DefaultExcludes

      public DefaultExcludes()
  • Method Details

    • execute

      public void execute() throws BuildException
      Does the work.
      Overrides:
      execute in class Task
      Throws:
      BuildException - if something goes wrong with the build
    • setDefault

      public void setDefault(boolean def)
      go back to standard default patterns
      Parameters:
      def - if true go back to default patterns
    • setAdd

      public void setAdd(String add)
      Pattern to add to the default excludes
      Parameters:
      add - Sets the value for the pattern to exclude.
    • setRemove

      public void setRemove(String remove)
      Pattern to remove from the default excludes.
      Parameters:
      remove - Sets the value for the pattern that should no longer be excluded.
    • setEcho

      public void setEcho(boolean echo)
      If true, echo the default excludes.
      Parameters:
      echo - whether or not to echo the contents of the default excludes.