Package org.apache.maven.model
Class FileSet
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.PatternSet
org.apache.maven.model.FileSet
- All Implemented Interfaces:
Serializable
,Cloneable
,InputLocationTracker
- Direct Known Subclasses:
Resource
- 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
-
Method Summary
Modifier and TypeMethodDescriptionclone()
fileSetToApiV3
(List<FileSet> list) fileSetToApiV4
(List<FileSet> list) getLocation
(Object key) Gets the location of the specified field in the input source.protected boolean
void
setDirectory
(String directory) void
setLocation
(Object key, InputLocation location) Sets the location of the specified field.toString()
Methods inherited from class org.apache.maven.model.PatternSet
addExclude, addInclude, getExcludes, getIncludes, patternSetToApiV3, patternSetToApiV4, removeExclude, removeInclude, setExcludes, setIncludes
Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
FileSet
public FileSet() -
FileSet
-
FileSet
-
-
Method Details
-
clone
- Overrides:
clone
in classPatternSet
-
getDelegate
- Overrides:
getDelegate
in classPatternSet
-
getDirectory
-
setDirectory
-
getLocation
Description copied from interface:InputLocationTracker
Gets the location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
- Overrides:
getLocation
in classPatternSet
- 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.- Specified by:
setLocation
in interfaceInputLocationTracker
- Overrides:
setLocation
in classPatternSet
- Parameters:
key
- The key of the field, must not benull
.location
- The location of the field, may benull
.
-
replace
- Overrides:
replace
in classPatternSet
-
fileSetToApiV4
-
fileSetToApiV3
-
toString
- Overrides:
toString
in classPatternSet
- See Also:
-