Class PathSet

  • All Implemented Interfaces:
    Serializable

    public class PathSet
    extends Object
    implements Serializable
    Global input calculation rules applicable to all projects and plugins in the build.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • PathSet

        public PathSet()
    • Method Detail

      • addExclude

        public void addExclude​(Exclude exclude)
        Method addExclude.
        Parameters:
        exclude - a exclude object.
      • addInclude

        public void addInclude​(Include include)
        Method addInclude.
        Parameters:
        include - a include object.
      • getExcludes

        public List<Exclude> getExcludes()
        Method getExcludes.
        Returns:
        List
      • getGlob

        public String getGlob()
        Get type of files to globally scan. All types are scanned by default. Example to scan only java and xml files : {*.java,*.xml}
        Returns:
        String
      • getIncludes

        public List<Include> getIncludes()
        Method getIncludes.
        Returns:
        List
      • removeExclude

        public void removeExclude​(Exclude exclude)
        Method removeExclude.
        Parameters:
        exclude - a exclude object.
      • removeInclude

        public void removeInclude​(Include include)
        Method removeInclude.
        Parameters:
        include - a include object.
      • setExcludes

        public void setExcludes​(List<Exclude> excludes)
        Set paths and files to exclude from checksum computation.
        Parameters:
        excludes - a excludes object.
      • setGlob

        public void setGlob​(String glob)
        Set type of files to globally scan. All types are scanned by default. Example to scan only java and xml files : {*.java,*.xml}
        Parameters:
        glob - a glob object.
      • setIncludes

        public void setIncludes​(List<Include> includes)
        Set extra paths to scan in order to compute the checksum (Project and test - sources/resources are already in the scan list).
        Parameters:
        includes - a includes object.