org.apache.maven.model
Class Exclusion

java.lang.Object
  extended by org.apache.maven.model.Exclusion
All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker

public class Exclusion
extends Object
implements Serializable, Cloneable, InputLocationTracker

The <exclusion> element contains informations required to exclude an artifact to the project.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Exclusion()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exclusion

public Exclusion()
Method Detail

clone

public Exclusion clone()
Method clone.

Overrides:
clone in class Object
Returns:
Exclusion

getArtifactId

public String getArtifactId()
Get the artifact ID of the project to exclude.

Returns:
String

getGroupId

public String getGroupId()
Get the group ID of the project to exclude.

Returns:
String

getLocation

public InputLocation getLocation(Object key)
Description copied from interface: InputLocationTracker
Gets the location of the specified field in the input source.

Specified by:
getLocation in interface InputLocationTracker
Parameters:
key -
Returns:
InputLocation

setArtifactId

public void setArtifactId(String artifactId)
Set the artifact ID of the project to exclude.

Parameters:
artifactId -

setGroupId

public void setGroupId(String groupId)
Set the group ID of the project to exclude.

Parameters:
groupId -

setLocation

public void setLocation(Object key,
                        InputLocation location)
Description copied from interface: InputLocationTracker
Sets the location of the specified field.

Specified by:
setLocation in interface InputLocationTracker
Parameters:
key -
location -


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.