Class Include
- java.lang.Object
-
- org.apache.maven.buildcache.xml.config.Include
-
- All Implemented Interfaces:
Serializable
public class Include extends Object implements Serializable
Afile or a directory path to add to checksum computation. Relative path 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Include()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGlob()Get files in a directory are filtered by matching their names against this glob.StringgetValue()Get path to add to the checksum computation.booleanisRecursive()Get will search in sub-folders if set to true.voidsetGlob(String glob)Set 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.voidsetValue(String value)Set path to add to the checksum computation.
-
-
-
Method Detail
-
getGlob
public String getGlob()
Get files in a directory are filtered by matching their names against this glob.- Returns:
- String
-
getValue
public 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
public void setGlob(String glob)
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
public void setValue(String value)
Set path to add to the checksum computation.- Parameters:
value- a value object.
-
-