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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExclude
(String string) Method addExclude.void
addInclude
(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.void
removeExclude
(String string) Method removeExclude.void
removeInclude
(String string) Method removeInclude.void
setExcludes
(List<String> excludes) Set a list of patterns to exclude, e.g.void
setIncludes
(List<String> includes) Set a list of patterns to include, e.g.void
setLocation
(Object key, InputLocation ___location) Sets the ___location of the specified field.void
setOtherLocation
(Object key, InputLocation ___location) toString()
-
Constructor Details
-
PatternSet
public PatternSet()
-
-
Method Details
-
addExclude
Method addExclude.- Parameters:
string
- a string object.
-
addInclude
Method addInclude.- Parameters:
string
- a string object.
-
clone
Method clone. -
getExcludes
Method getExcludes.- Returns:
- List
-
getIncludes
Method getIncludes.- Returns:
- List
-
getLocation
Description copied from interface:InputLocationTracker
Gets the ___location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
- Parameters:
key
- a key object.- Returns:
- InputLocation
-
setLocation
Description copied from interface:InputLocationTracker
Sets the ___location of the specified field.- Specified by:
setLocation
in interfaceInputLocationTracker
- Parameters:
key
- a key object.___location
- a ___location object.
-
setOtherLocation
- Parameters:
key
- a key object.___location
- a ___location object.
-
removeExclude
Method removeExclude.- Parameters:
string
- a string object.
-
removeInclude
Method removeInclude.- Parameters:
string
- a string object.
-
setExcludes
Set a list of patterns to exclude, e.g.**/*.xml
- Parameters:
excludes
- a excludes object.
-
setIncludes
Set a list of patterns to include, e.g.**/*.xml
.- Parameters:
includes
- a includes object.
-
toString
-