Package org.apache.maven.model
Class PatternSet
java.lang.Object
org.apache.maven.model.PatternSet
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- Direct Known Subclasses:
- FileSet
Definition of include or exclude patterns.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddExclude(String string) Method addExclude.voidaddInclude(String string) Method addInclude.clone()Method clone.Method getExcludes.Method getIncludes.getLocation(Object key) Gets the location of the specified field in the input source.voidremoveExclude(String string) Method removeExclude.voidremoveInclude(String string) Method removeInclude.voidsetExcludes(List<String> excludes) Set a list of patterns to exclude, e.g.voidsetIncludes(List<String> includes) Set a list of patterns to include, e.g.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOtherLocation(Object key, InputLocation location) toString()
- 
Constructor Details- 
PatternSetpublic PatternSet()
 
- 
- 
Method Details- 
addExcludeMethod addExclude.- Parameters:
- string- a string object.
 
- 
addIncludeMethod addInclude.- Parameters:
- string- a string object.
 
- 
cloneMethod clone.
- 
getExcludesMethod getExcludes.- Returns:
- List
 
- 
getIncludesMethod getIncludes.- Returns:
- List
 
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
removeExcludeMethod removeExclude.- Parameters:
- string- a string object.
 
- 
removeIncludeMethod removeInclude.- Parameters:
- string- a string object.
 
- 
setExcludesSet a list of patterns to exclude, e.g.**/*.xml- Parameters:
- excludes- a excludes object.
 
- 
setIncludesSet a list of patterns to include, e.g.**/*.xml.- Parameters:
- includes- a includes object.
 
- 
toString
 
-