Class Extension
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Extension
- 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
ConstructorsConstructorDescriptionExtension(org.apache.maven.api.model.Extension delegate) Extension(org.apache.maven.api.model.Extension delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanextensionToApiV3(List<org.apache.maven.api.model.Extension> list) static List<org.apache.maven.api.model.Extension> extensionToApiV4(List<Extension> list) org.apache.maven.api.model.ExtensiongetLocation(Object key) Gets the location of the specified field in the input source.inthashCode()protected booleanvoidsetArtifactId(String artifactId) voidsetGroupId(String groupId) voidsetImportedFrom(InputLocation location) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetVersion(String version) Methods inherited from class BaseObject
update
-
Constructor Details
-
Extension
public Extension() -
Extension
public Extension(org.apache.maven.api.model.Extension delegate) -
Extension
-
-
Method Details
-
clone
-
getDelegate
public org.apache.maven.api.model.Extension getDelegate()- Overrides:
getDelegatein classBaseObject
-
equals
-
hashCode
-
getGroupId
-
setGroupId
-
getArtifactId
-
setArtifactId
-
getVersion
-
setVersion
-
getLocation
Description copied from interface:InputLocationTrackerGets 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
nullif unknown.
-
setLocation
Description copied from interface:InputLocationTrackerSets 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:
replacein classBaseObject
-
extensionToApiV4
-
extensionToApiV3
-