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 |
setVersion(String version)
Set the version of the extension.
|
public Extension()
public String getArtifactId()
public String getGroupId()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public String getVersion()
public void setArtifactId(String artifactId)
artifactId
- public void setGroupId(String groupId)
groupId
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setVersion(String version)
version
- 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–2013 The Apache Software Foundation. All rights reserved.