Class PathSet
- java.lang.Object
-
- org.apache.maven.buildcache.xml.config.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 Summary
Constructors Constructor Description PathSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExclude(Exclude exclude)Method addExclude.voidaddInclude(Include include)Method addInclude.List<Exclude>getExcludes()Method getExcludes.StringgetGlob()Get type of files to globally scan.List<Include>getIncludes()Method getIncludes.voidremoveExclude(Exclude exclude)Method removeExclude.voidremoveInclude(Include include)Method removeInclude.voidsetExcludes(List<Exclude> excludes)Set paths and files to exclude from checksum computation.voidsetGlob(String glob)Set type of files to globally scan.voidsetIncludes(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).
-
-
-
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.
-
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
-
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.
-
-