Package org.apache.maven.model
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.inthashCode()booleanprotected booleanresourceToApiV3(List<Resource> list) resourceToApiV4(List<Resource> list) voidsetFiltering(boolean filtering) voidsetFiltering(String filtering) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetMergeId(String mergeId) 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
public int hashCode() -
getTargetPath
-
setTargetPath
-
getFiltering
-
setFiltering
-
getMergeId
-
setMergeId
-
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.
-
replace
-
resourceToApiV4
-
resourceToApiV3
-
isFiltering
public boolean isFiltering() -
setFiltering
public void setFiltering(boolean filtering) -
toString
-