Class PathSet
java.lang.Object
org.apache.maven.buildcache.xml.config.PathSet
- All Implemented Interfaces:
Serializable
Global input calculation rules applicable to all projects and
plugins in the build.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExclude(Exclude exclude) Method addExclude.voidaddInclude(Include include) Method addInclude.Method getExcludes.getGlob()Get type of files to globally scan.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.voidSet 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).
-
Constructor Details
-
PathSet
public PathSet()
-
-
Method Details
-
addExclude
Method addExclude.- Parameters:
exclude- a exclude object.
-
addInclude
Method addInclude.- Parameters:
include- a include object.
-
getExcludes
Method getExcludes.- Returns:
- List
-
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
Method getIncludes.- Returns:
- List
-
removeExclude
Method removeExclude.- Parameters:
exclude- a exclude object.
-
removeInclude
Method removeInclude.- Parameters:
include- a include object.
-
setExcludes
Set paths and files to exclude from checksum computation.- Parameters:
excludes- a excludes object.
-
setGlob
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
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.
-