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 void
addExclude(Exclude exclude)
Method addExclude.void
addInclude(Include include)
Method addInclude.List<Exclude>
getExcludes()
Method getExcludes.String
getGlob()
Get type of files to globally scan.List<Include>
getIncludes()
Method getIncludes.void
removeExclude(Exclude exclude)
Method removeExclude.void
removeInclude(Include include)
Method removeInclude.void
setExcludes(List<Exclude> excludes)
Set paths and files to exclude from checksum computation.void
setGlob(String glob)
Set type of files to globally scan.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).
-
-
-
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.
-
-