Class Include
java.lang.Object
org.apache.maven.buildcache.xml.config.Include
- All Implemented Interfaces:
Serializable
A file or a directory path to add to checksum computation. Relative paths are relative to each module basedir.
Include elements can also be added per project with the use of maven properties.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGlob()Get files in a directory are filtered by matching their names against this glob.getValue()Get path to add to the checksum computation.booleanGet will search in sub-folders if set to true.voidSet files in a directory are filtered by matching their names against this glob.voidsetRecursive(boolean recursive) Set will search in sub-folders if set to true.voidSet path to add to the checksum computation.
-
Constructor Details
-
Include
public Include()
-
-
Method Details
-
getGlob
Get files in a directory are filtered by matching their names against this glob.- Returns:
- String
-
getValue
Get path to add to the checksum computation.- Returns:
- String
-
isRecursive
public boolean isRecursive()Get will search in sub-folders if set to true.- Returns:
- boolean
-
setGlob
Set files in a directory are filtered by matching their names against this glob.- Parameters:
glob- a glob object.
-
setRecursive
public void setRecursive(boolean recursive) Set will search in sub-folders if set to true.- Parameters:
recursive- a recursive object.
-
setValue
Set path to add to the checksum computation.- Parameters:
value- a value object.
-