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 void
addExclude(TagExclude tagExclude)
Method addExclude.void
addInclude(TagScanConfig tagScanConfig)
Method addInclude.void
addTagScanConfig(TagScanConfig tagScanConfig)
Method addTagScanConfig.List<TagExclude>
getExcludes()
Method getExcludes.List<TagScanConfig>
getIncludes()
Method getIncludes.String
getMode()
Get either 'auto' (scan directory accordingly to cache implementation) or 'skip' (skip directory).List<TagScanConfig>
getTagScanConfigs()
Method getTagScanConfigs.boolean
isIgnoreParent()
Get ignore parent settings or inherit and merge.void
removeExclude(TagExclude tagExclude)
Method removeExclude.void
removeInclude(TagScanConfig tagScanConfig)
Method removeInclude.void
removeTagScanConfig(TagScanConfig tagScanConfig)
Method removeTagScanConfig.void
setExcludes(List<TagExclude> excludes)
Set tag to exclude when scanning plugin configuration for input files (blacklist).void
setIgnoreParent(boolean ignoreParent)
Set ignore parent settings or inherit and merge.void
setIncludes(List<TagScanConfig> includes)
Set forces cache to treat property value as input and include in calculation.void
setMode(String mode)
Set either 'auto' (scan directory accordingly to cache implementation) or 'skip' (skip directory).void
setTagScanConfigs(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.
-
-