Package org.apache.maven.model
Class PatternSet
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.PatternSet
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- Direct Known Subclasses:
- FileSet
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.maven.model.BaseObjectBaseObject.ChildrenTracking
- 
Field SummaryFields inherited from class org.apache.maven.model.BaseObjectchildrenTracking, delegate
- 
Constructor SummaryConstructorsConstructorDescriptionPatternSet(PatternSet delegate) PatternSet(PatternSet delegate, BaseObject parent) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddExclude(String exclude) voidaddInclude(String include) clone()booleangetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()static List<PatternSet> patternSetToApiV3(List<PatternSet> list) static List<PatternSet> patternSetToApiV4(List<PatternSet> list) voidremoveExclude(String exclude) voidremoveInclude(String include) protected booleanvoidsetExcludes(List<String> excludes) voidsetImportedFrom(InputLocation location) voidsetIncludes(List<String> includes) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.toString()Methods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Constructor Details- 
PatternSetpublic PatternSet()
- 
PatternSet
- 
PatternSet
 
- 
- 
Method Details- 
clone
- 
getDelegate- Overrides:
- getDelegatein class- BaseObject
 
- 
equals
- 
hashCodepublic int hashCode()
- 
getIncludes
- 
setIncludes
- 
addInclude
- 
removeInclude
- 
getExcludes
- 
setExcludes
- 
addExclude
- 
removeExclude
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Parameters:
- key- The key of the field, must not be- null.
- Returns:
- The location of the field in the input source or
 nullif unknown.
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Parameters:
- key- The key of the field, must not be- null.
- location- The location of the field, may be- null.
 
- 
getImportedFrom
- 
setImportedFrom
- 
getLocationKeys
- 
replace- Overrides:
- replacein class- BaseObject
 
- 
patternSetToApiV4
- 
patternSetToApiV3
- 
toString
 
-