public class Exclusion extends Object implements Serializable, Cloneable, InputLocationTracker
<exclusion>
element contains
informations required to exclude
an artifact to the project.Constructor and Description |
---|
Exclusion() |
Modifier and Type | Method and Description |
---|---|
Exclusion |
clone()
Method clone.
|
String |
getArtifactId()
Get the artifact ID of the project to exclude.
|
String |
getGroupId()
Get the group ID of the project to exclude.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
void |
setArtifactId(String artifactId)
Set the artifact ID of the project to exclude.
|
void |
setGroupId(String groupId)
Set the group ID of the project to exclude.
|
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setOtherLocation(Object key,
InputLocation location) |
public String getArtifactId()
public String getGroupId()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(Object key, InputLocation location)
key
- location
- public void setArtifactId(String artifactId)
artifactId
- public void setGroupId(String groupId)
groupId
- Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.