Class PackageSection

  • All Implemented Interfaces:
    Mappable

    public class PackageSection
    extends java.lang.Object
    implements Mappable
    Used by ant to handle the package element.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean allowMatchAllPatternSet
      The Allow match all pattern set.
      protected java.util.List patternSets
      The Pattern sets.
    • Constructor Summary

      Constructors 
      Constructor Description
      PackageSection()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addConfiguredPatternSet​(org.apache.tools.ant.types.PatternSet ps)
      Add configured pattern set.
      void addEntries​(java.util.Collection entries, org.apache.tools.ant.types.ZipFileSet zf)
      Add entries.
      void addMapEntries​(java.util.Collection entries)
      Add map entries.
      void setMap​(java.lang.String mapTo)
      Sets map.
      void setName​(java.lang.String name)
      Sets name.
      • Methods inherited from class java.lang.Object

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

      • patternSets

        protected java.util.List patternSets
        The Pattern sets.
      • allowMatchAllPatternSet

        protected boolean allowMatchAllPatternSet
        The Allow match all pattern set.
    • Constructor Detail

      • PackageSection

        public PackageSection()
    • Method Detail

      • addConfiguredPatternSet

        public void addConfiguredPatternSet​(org.apache.tools.ant.types.PatternSet ps)
        Add configured pattern set.
        Parameters:
        ps - the ps
      • setName

        public void setName​(java.lang.String name)
        Sets name.
        Parameters:
        name - the name
      • addEntries

        public void addEntries​(java.util.Collection entries,
                               org.apache.tools.ant.types.ZipFileSet zf)
                        throws java.io.IOException
        Add entries.
        Parameters:
        entries - the entries
        zf - the zf
        Throws:
        java.io.IOException - the io exception
      • setMap

        public void setMap​(java.lang.String mapTo)
        Sets map.
        Parameters:
        mapTo - the map to
      • addMapEntries

        public void addMapEntries​(java.util.Collection entries)
        Description copied from interface: Mappable
        Add map entries.
        Specified by:
        addMapEntries in interface Mappable
        Parameters:
        entries - the entries