Class DirScanConfig
- java.lang.Object
-
- org.apache.maven.buildcache.xml.config.DirScanConfig
-
- All Implemented Interfaces:
Serializable
public class DirScanConfig extends Object implements Serializable
Class DirScanConfig.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DirScanConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExclude(TagExclude tagExclude)Method addExclude.voidaddInclude(TagScanConfig tagScanConfig)Method addInclude.voidaddTagScanConfig(TagScanConfig tagScanConfig)Method addTagScanConfig.List<TagExclude>getExcludes()Method getExcludes.List<TagScanConfig>getIncludes()Method getIncludes.StringgetMode()Get either 'auto' (scan directory accordingly to cache implementation) or 'skip' (skip directory).List<TagScanConfig>getTagScanConfigs()Method getTagScanConfigs.booleanisIgnoreParent()Get ignore parent settings or inherit and merge.voidremoveExclude(TagExclude tagExclude)Method removeExclude.voidremoveInclude(TagScanConfig tagScanConfig)Method removeInclude.voidremoveTagScanConfig(TagScanConfig tagScanConfig)Method removeTagScanConfig.voidsetExcludes(List<TagExclude> excludes)Set tag to exclude when scanning plugin configuration for input files (blacklist).voidsetIgnoreParent(boolean ignoreParent)Set ignore parent settings or inherit and merge.voidsetIncludes(List<TagScanConfig> includes)Set forces cache to treat property value as input and include in calculation.voidsetMode(String mode)Set either 'auto' (scan directory accordingly to cache implementation) or 'skip' (skip directory).voidsetTagScanConfigs(List<TagScanConfig> tagScanConfigs)Set additional processing rules for non-blacklisted tags.
-
-
-
Method Detail
-
addExclude
public void addExclude(TagExclude tagExclude)
Method addExclude.- Parameters:
tagExclude- a tagExclude object.
-
addInclude
public void addInclude(TagScanConfig tagScanConfig)
Method addInclude.- Parameters:
tagScanConfig- a tagScanConfig object.
-
addTagScanConfig
public void addTagScanConfig(TagScanConfig tagScanConfig)
Method addTagScanConfig.- Parameters:
tagScanConfig- a tagScanConfig object.
-
getExcludes
public List<TagExclude> getExcludes()
Method getExcludes.- Returns:
- List
-
getIncludes
public List<TagScanConfig> getIncludes()
Method getIncludes.- Returns:
- List
-
getMode
public String getMode()
Get either 'auto' (scan directory accordingly to cache implementation) or 'skip' (skip directory).- Returns:
- String
-
getTagScanConfigs
public List<TagScanConfig> getTagScanConfigs()
Method getTagScanConfigs.- Returns:
- List
-
isIgnoreParent
public boolean isIgnoreParent()
Get ignore parent settings or inherit and merge.- Returns:
- boolean
-
removeExclude
public void removeExclude(TagExclude tagExclude)
Method removeExclude.- Parameters:
tagExclude- a tagExclude object.
-
removeInclude
public void removeInclude(TagScanConfig tagScanConfig)
Method removeInclude.- Parameters:
tagScanConfig- a tagScanConfig object.
-
removeTagScanConfig
public void removeTagScanConfig(TagScanConfig tagScanConfig)
Method removeTagScanConfig.- Parameters:
tagScanConfig- a tagScanConfig object.
-
setExcludes
public void setExcludes(List<TagExclude> excludes)
Set tag to exclude when scanning plugin configuration for input files (blacklist).- Parameters:
excludes- a excludes object.
-
setIgnoreParent
public void setIgnoreParent(boolean ignoreParent)
Set ignore parent settings or inherit and merge.- Parameters:
ignoreParent- a ignoreParent object.
-
setIncludes
public void setIncludes(List<TagScanConfig> includes)
Set forces cache to treat property value as input and include in calculation. If set, only included properties will be takein in calculation (whitelist).- Parameters:
includes- a includes object.
-
setMode
public void setMode(String mode)
Set either 'auto' (scan directory accordingly to cache implementation) or 'skip' (skip directory).- Parameters:
mode- a mode object.
-
setTagScanConfigs
public void setTagScanConfigs(List<TagScanConfig> tagScanConfigs)
Set additional processing rules for non-blacklisted tags.- Parameters:
tagScanConfigs- a tagScanConfigs object.
-
-