Class Resource
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.PatternSet
org.apache.maven.model.FileSet
org.apache.maven.model.Resource
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetLocation(Object key) Gets the location of the specified field in the input source.Deprecated.inthashCode()booleanprotected booleanresourceToApiV3(List<Resource> list) resourceToApiV4(List<Resource> list) voidsetFiltering(boolean filtering) voidsetFiltering(String filtering) voidsetImportedFrom(InputLocation location) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetMergeId(String mergeId) Deprecated.this was unused and has no replacement, this method is a no-op now.voidsetTargetPath(String targetPath) toString()Methods inherited from class org.apache.maven.model.FileSet
fileSetToApiV3, fileSetToApiV4, getDirectory, setDirectoryMethods inherited from class org.apache.maven.model.PatternSet
addExclude, addInclude, getExcludes, getIncludes, patternSetToApiV3, patternSetToApiV4, removeExclude, removeInclude, setExcludes, setIncludesMethods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
Resource
public Resource() -
Resource
-
Resource
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegatein classFileSet
-
equals
-
hashCode
-
getTargetPath
-
setTargetPath
-
getFiltering
-
setFiltering
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
getLocationin interfaceInputLocationTracker- Overrides:
getLocationin classFileSet- Parameters:
key- The key of the field, must not benull.- Returns:
- The location of the field in the input source or
nullif unknown.
-
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
setLocationin interfaceInputLocationTracker- Overrides:
setLocationin classFileSet- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
getImportedFrom
- Overrides:
getImportedFromin classFileSet
-
setImportedFrom
- Overrides:
setImportedFromin classFileSet
-
getLocationKeys
- Overrides:
getLocationKeysin classFileSet
-
replace
-
resourceToApiV4
-
resourceToApiV3
-
getMergeId
Deprecated.this was unused and has no replacement, this method returnsnullnow. -
setMergeId
Deprecated.this was unused and has no replacement, this method is a no-op now. -
isFiltering
public boolean isFiltering() -
setFiltering
public void setFiltering(boolean filtering) -
toString
-
nullnow.