public class Exclusion extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
<exclusion>
element contains
informations required to exclude
an artifact to the project.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
artifactId
The artifact ID of the project to exclude.
|
private java.lang.String |
groupId
The group ID of the project to exclude.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
Constructor and Description |
---|
Exclusion() |
Modifier and Type | Method and Description |
---|---|
Exclusion |
clone()
Method clone.
|
java.lang.String |
getArtifactId()
Get the artifact ID of the project to exclude.
|
java.lang.String |
getGroupId()
Get the group ID of the project to exclude.
|
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
void |
setArtifactId(java.lang.String artifactId)
Set the artifact ID of the project to exclude.
|
void |
setGroupId(java.lang.String groupId)
Set the group ID of the project to exclude.
|
void |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
private java.lang.String artifactId
private java.lang.String groupId
private java.util.Map<java.lang.Object,InputLocation> locations
public Exclusion clone()
clone
in class java.lang.Object
public java.lang.String getArtifactId()
public java.lang.String getGroupId()
public InputLocation getLocation(java.lang.Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public void setArtifactId(java.lang.String artifactId)
artifactId
- public void setGroupId(java.lang.String groupId)
groupId
- public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
-