Package org.apache.maven.model
Class Exclusion
java.lang.Object
org.apache.maven.model.Exclusion
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
The 
<exclusion> element contains
 informations required to exclude
         an artifact to the project.- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.Get the artifact ID of the project to exclude.Get the group ID of the project to exclude.getLocation(Object key) Gets the location of the specified field in the input source.voidsetArtifactId(String artifactId) Set the artifact ID of the project to exclude.voidsetGroupId(String groupId) Set the group ID of the project to exclude.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetOtherLocation(Object key, InputLocation location) 
- 
Constructor Details- 
Exclusionpublic Exclusion()
 
- 
- 
Method Details- 
cloneMethod clone.
- 
getArtifactIdGet the artifact ID of the project to exclude.- Returns:
- String
 
- 
getGroupIdGet the group ID of the project to exclude.- Returns:
- String
 
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
setArtifactIdSet the artifact ID of the project to exclude.- Parameters:
- artifactId- a artifactId object.
 
- 
setGroupIdSet the group ID of the project to exclude.- Parameters:
- groupId- a groupId object.
 
 
-