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 Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking
-
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate
-
Constructor Summary
ConstructorDescriptionPatternSet
(PatternSet delegate) PatternSet
(PatternSet delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExclude
(String exclude) void
addInclude
(String include) clone()
boolean
getLocation
(Object key) Gets the location of the specified field in the input source.int
hashCode()
static List<PatternSet>
patternSetToApiV3
(List<PatternSet> list) static List<PatternSet>
patternSetToApiV4
(List<PatternSet> list) void
removeExclude
(String exclude) void
removeInclude
(String include) protected boolean
void
setExcludes
(List<String> excludes) void
setImportedFrom
(InputLocation location) void
setIncludes
(List<String> includes) void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.toString()
Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
PatternSet
public PatternSet() -
PatternSet
-
PatternSet
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in classBaseObject
-
equals
-
hashCode
public int hashCode() -
getIncludes
-
setIncludes
-
addInclude
-
removeInclude
-
getExcludes
-
setExcludes
-
addExclude
-
removeExclude
-
getLocation
Description copied from interface:InputLocationTracker
Gets the location of the specified field in the input source.- Parameters:
key
- The key of the field, must not benull
.- Returns:
- The location of the field in the input source or
null
if unknown.
-
setLocation
Description copied from interface:InputLocationTracker
Sets the location of the specified field.- Parameters:
key
- The key of the field, must not benull
.location
- The location of the field, may benull
.
-
getImportedFrom
-
setImportedFrom
-
getLocationKeys
-
replace
- Overrides:
replace
in classBaseObject
-
patternSetToApiV4
-
patternSetToApiV3
-
toString
-