Class Source
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.PatternSet
org.apache.maven.model.FileSet
org.apache.maven.model.Source
- All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class BaseObject
BaseObject.ChildrenTracking -
Field Summary
Fields inherited from class BaseObject
childrenTracking, delegate -
Constructor Summary
ConstructorsConstructorDescriptionSource()Source(org.apache.maven.api.model.Source delegate) Source(org.apache.maven.api.model.Source delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanorg.apache.maven.api.model.SourcegetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()protected booleanvoidsetImportedFrom(InputLocation location) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.sourceToApiV3(List<org.apache.maven.api.model.Source> list) static List<org.apache.maven.api.model.Source> sourceToApiV4(List<Source> list) Methods inherited from class FileSet
fileSetToApiV3, fileSetToApiV4, getDirectory, setDirectory, toStringMethods inherited from class PatternSet
addExclude, addInclude, getExcludes, getIncludes, patternSetToApiV3, patternSetToApiV4, removeExclude, removeInclude, setExcludes, setIncludesMethods inherited from class BaseObject
update
-
Constructor Details
-
Source
public Source() -
Source
public Source(org.apache.maven.api.model.Source delegate) -
Source
-
-
Method Details
-
clone
-
getDelegate
public org.apache.maven.api.model.Source getDelegate()- Overrides:
getDelegatein classFileSet
-
equals
-
hashCode
-
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
-
sourceToApiV4
-
sourceToApiV3
-