public class Extension extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
Extension() |
Modifier and Type | Method and Description |
---|---|
Extension |
clone()
Method clone.
|
boolean |
equals(Object o) |
String |
getArtifactId()
Get the artifact ID of the extension.
|
String |
getGroupId()
Get the group ID of the extension's artifact.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getVersion()
Get the version of the extension.
|
int |
hashCode() |
void |
setArtifactId(String artifactId)
Set the artifact ID of the extension.
|
void |
setGroupId(String groupId)
Set the group ID of the extension's artifact.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setOtherLocation(Object key,
InputLocation location) |
void |
setVersion(String version)
Set the version of the extension.
|
public String getArtifactId()
public String getGroupId()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- a key object.public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- a key object.location
- a location object.public void setOtherLocation(Object key, InputLocation location)
key
- a key object.location
- a location object.public String getVersion()
public void setArtifactId(String artifactId)
artifactId
- a artifactId object.public void setGroupId(String groupId)
groupId
- a groupId object.public void setVersion(String version)
version
- a version object.public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2001–2024 The Apache Software Foundation. All rights reserved.