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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The artifact ID of the project to exclude.private InputLocation
Field artifactIdLocation.private String
The group ID of the project to exclude.private InputLocation
Field groupIdLocation.private InputLocation
Field location.private Map<Object,
InputLocation> Field locations. -
Constructor Summary
Constructors -
Method Summary
Modifier 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.private InputLocation
getOtherLocation
(Object key) 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)
-
Field Details
-
groupId
The group ID of the project to exclude. -
artifactId
The artifact ID of the project to exclude. -
locations
Field locations. -
location
Field location. -
groupIdLocation
Field groupIdLocation. -
artifactIdLocation
Field artifactIdLocation.
-
-
Constructor Details
-
Exclusion
public Exclusion()
-
-
Method Details
-
clone
Method clone. -
getArtifactId
Get the artifact ID of the project to exclude.- Returns:
- String
-
getGroupId
Get the group ID of the project to exclude.- Returns:
- String
-
getLocation
Description copied from interface:InputLocationTracker
Gets the location of the specified field in the input source.- Specified by:
getLocation
in interfaceInputLocationTracker
- Parameters:
key
- a key object.- Returns:
- InputLocation
-
setLocation
Description copied from interface:InputLocationTracker
Sets the location of the specified field.- Specified by:
setLocation
in interfaceInputLocationTracker
- Parameters:
key
- a key object.location
- a location object.
-
setOtherLocation
- Parameters:
key
- a key object.location
- a location object.
-
getOtherLocation
- Parameters:
key
- a key object.- Returns:
- InputLocation
-
setArtifactId
Set the artifact ID of the project to exclude.- Parameters:
artifactId
- a artifactId object.
-
setGroupId
Set the group ID of the project to exclude.- Parameters:
groupId
- a groupId object.
-